#314208#314208

#314208 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.082 H 125.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#314208
RGBrgb(49, 66, 8)
HSLhsl(78, 78%, 15%)
HSVhsv(78, 88%, 26%)
CMYKcmyk(25.8%, 0%, 87.9%, 74.1%)
CIE-LABlab(25.46, -16.29, 30.46)
CIE-LCHlch(25.46, 34.55, 118.13°)
OKLaboklab(35.19% -0.0474 0.0671)
OKLCHoklch(35.19% 0.082 125.2)
XYZxyz(3.2587, 4.5669, 0.9395)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314208 #190842
analogous
#423608 #314208 #144208
triadic
#314208 #083142 #420831
tetradic
#314208 #084236 #190842 #420814
square
#314208 #084236 #190842 #420814
split-complementary
#314208 #081442 #360842
monochromatic
#141B03 #141B03 #314208 #5A790F #82AF15

Accessibility & contrast

On white

10.98
#314208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#314208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314208
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314208#FFFFFF#000000##FFFFFF
##3142081.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#343E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #314208;
/* rgb */ color: rgb(49, 66, 8);
/* oklch */ color: oklch(35.2% 0.082 125.2);
Tailwind
colors: {
  custom: {
    50: '#6b764d',
    500: '#314208',
    950: '#000000',
  },
}
SCSS
$custom: #314208;
$custom-light: #6b764d;
$custom-dark: #000000;
JSON
{
  "hex": "#314208",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 77.586,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35192,
    "c": 0.0821,
    "h": 125.2
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#314208
secondary
#402580
accent
#33F56C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314208

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#314208 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva