#313607

A color in the Yellow, Gold family

#313607 is a color in the Yellow, Gold family: RGB(49, 54, 7), HSL(66°, 77%, 12%), CMYK(9%, 0%, 87%, 79%). Closest named color: darkslategray. Contrast is 12.64:1 on white and 1.66:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#313607
RGBrgb(49 54 7)
RGB (legacy)rgb(49, 54, 7)
RGB %rgb(19% 21% 3%)
HSLhsl(66 77% 12%)
HSV / HSBhsv(66, 87%, 21%)
HWBhwb(66 3% 79%)
CMYKcmyk(9%, 0%, 87%, 79%)
CIELAB (D50)lab(21.36 -7.53 26.4)
LCHlch(21.36 27.45 105.92)
OKLaboklab(0.3178 -0.0285 0.0595)
OKLCHoklch(0.3178 0.0659 115.6)
Decimal3225095

Properties

Color ToneYellow, Gold
Closest named colordarkslategray ΔE 11
Closest web-safe color#333300
Hue66°
Saturation (HSL / HSV)77% / 87%
Lightness (HSL)12%
Brightness or Value (HSV)21%
Luminance (Rec.601 / Rec.709)18% / 19%
Relative luminance (WCAG)0.0331
Red / Green / Blue49 / 54 / 7

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.66:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 98.6 / 0 · As background with white / black text: Lc -101.9 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #313607;
  --color-brand-oklch: oklch(31.78% 0.0659 115.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(49 54 7 / 50%); }
/* Tailwind CSS */
<div class="bg-[#313607] text-[#313607] border-[#313607]">