#314C09#314C09

#314C09 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.1% C 0.096 H 130.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#314C09
RGBrgb(49, 76, 9)
HSLhsl(84, 79%, 17%)
HSVhsv(84, 88%, 30%)
CMYKcmyk(35.5%, 0%, 88.2%, 70.2%)
CIE-LABlab(29.01, -21.54, 33.34)
CIE-LCHlch(29.01, 39.69, 122.87°)
OKLaboklab(38.08% -0.0615 0.0733)
OKLCHoklch(38.08% 0.096 130)
XYZxyz(3.9004, 5.8414, 1.1804)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C09 #24094C
analogous
#4C4609 #314C09 #104C09
triadic
#314C09 #09314C #4C0931
tetradic
#314C09 #094C46 #24094C #4C0910
square
#314C09 #094C46 #24094C #4C0910
split-complementary
#314C09 #09104C #46094C
monochromatic
#121B03 #121B03 #314C09 #54830F #78B916

Accessibility & contrast

On white

9.68
#314C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#314C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C09
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C09#FFFFFF#000000##FFFFFF
##314C091.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#334840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314c09;
/* rgb */ color: rgb(49, 76, 9);
/* oklch */ color: oklch(38.1% 0.096 130.0);
Tailwind
colors: {
  custom: {
    50: '#6c7e4f',
    500: '#314c09',
    950: '#000000',
  },
}
SCSS
$custom: #314c09;
$custom-light: #6c7e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#314c09",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 9
  },
  "hsl": {
    "h": 84.179,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.0957,
    "h": 130
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#314C09
secondary
#4F2889
accent
#33F581
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314C09

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

Preview Lab → · Contrast checker → · Palette generator →

#314C09 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva