#314B09#314B09

#314B09 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.094 H 129.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#314B09
RGBrgb(49, 75, 9)
HSLhsl(84, 79%, 16%)
HSVhsv(84, 88%, 29%)
CMYKcmyk(34.7%, 0%, 88%, 70.6%)
CIE-LABlab(28.65, -21.03, 33.01)
CIE-LCHlch(28.65, 39.14, 122.50°)
OKLaboklab(37.79% -0.0601 0.0726)
OKLCHoklch(37.79% 0.094 129.6)
XYZxyz(3.8320, 5.7047, 1.1576)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B09 #23094B
analogous
#4B4409 #314B09 #104B09
triadic
#314B09 #09314B #4B0931
tetradic
#314B09 #094B44 #23094B #4B0910
square
#314B09 #094B44 #23094B #4B0910
split-complementary
#314B09 #09104B #44094B
monochromatic
#121B03 #121B03 #314B09 #558210 #78B816

Accessibility & contrast

On white

9.81
#314B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#314B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B09
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B09#FFFFFF#000000##FFFFFF
##314B091.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#4B4310
Tritanopia (blue-blind)
#33473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b09;
/* rgb */ color: rgb(49, 75, 9);
/* oklch */ color: oklch(37.8% 0.094 129.6);
Tailwind
colors: {
  custom: {
    50: '#6c7d4f',
    500: '#314b09',
    950: '#000000',
  },
}
SCSS
$custom: #314b09;
$custom-light: #6c7d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#314b09",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 9
  },
  "hsl": {
    "h": 83.636,
    "s": 78.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.0943,
    "h": 129.6
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#314B09
secondary
#4E2888
accent
#33F57F
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314B09

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

Preview Lab → · Contrast checker → · Palette generator →

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