#314408#314408

#314408 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.085 H 126.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#314408
RGBrgb(49, 68, 8)
HSLhsl(79, 79%, 15%)
HSVhsv(79, 88%, 27%)
CMYKcmyk(27.9%, 0%, 88.2%, 73.3%)
CIE-LABlab(26.17, -17.39, 31.12)
CIE-LCHlch(26.17, 35.65, 119.19°)
OKLaboklab(35.77% -0.0504 0.0684)
OKLCHoklch(35.77% 0.085 126.4)
XYZxyz(3.3776, 4.8047, 0.9791)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314408 #1B0844
analogous
#443908 #314408 #134408
triadic
#314408 #083144 #440831
tetradic
#314408 #084439 #1B0844 #440813
square
#314408 #084439 #1B0844 #440813
split-complementary
#314408 #081344 #390844
monochromatic
#141B03 #141B03 #314408 #587B0E #80B215

Accessibility & contrast

On white

10.71
#314408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#314408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314408
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314408#FFFFFF#000000##FFFFFF
##3144081.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F00
Deuteranopia (green-blind)
#463E0E
Tritanopia (blue-blind)
#334039
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #314408;
/* rgb */ color: rgb(49, 68, 8);
/* oklch */ color: oklch(35.8% 0.085 126.4);
Tailwind
colors: {
  custom: {
    50: '#6c784d',
    500: '#314408',
    950: '#000000',
  },
}
SCSS
$custom: #314408;
$custom-light: #6c784d;
$custom-dark: #000000;
JSON
{
  "hex": "#314408",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 79,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35766,
    "c": 0.08496,
    "h": 126.4
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#314408
secondary
#432682
accent
#32F570
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #314408

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

Preview Lab → · Contrast checker → · Palette generator →

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