#314A09#314A09

#314A09 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.093 H 129.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#314A09
RGBrgb(49, 74, 9)
HSLhsl(83, 78%, 16%)
HSVhsv(83, 88%, 29%)
CMYKcmyk(33.8%, 0%, 87.8%, 71%)
CIE-LABlab(28.30, -20.51, 32.69)
CIE-LCHlch(28.30, 38.59, 122.11°)
OKLaboklab(37.5% -0.0587 0.0719)
OKLCHoklch(37.5% 0.093 129.2)
XYZxyz(3.7647, 5.5701, 1.1352)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A09 #22094A
analogous
#4A4309 #314A09 #114A09
triadic
#314A09 #09314A #4A0931
tetradic
#314A09 #094A43 #22094A #4A0911
square
#314A09 #094A43 #22094A #4A0911
split-complementary
#314A09 #09114A #43094A
monochromatic
#121B03 #121B03 #314A09 #558110 #79B716

Accessibility & contrast

On white

9.93
#314A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#314A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A09
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A09#FFFFFF#000000##FFFFFF
##314A091.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4B4210
Tritanopia (blue-blind)
#33463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a09;
/* rgb */ color: rgb(49, 74, 9);
/* oklch */ color: oklch(37.5% 0.093 129.2);
Tailwind
colors: {
  custom: {
    50: '#6c7c4f',
    500: '#314a09',
    950: '#000000',
  },
}
SCSS
$custom: #314a09;
$custom-light: #6c7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#314a09",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 83.077,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.375,
    "c": 0.09287,
    "h": 129.2
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#314A09
secondary
#4C2787
accent
#33F57E
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A09

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

Preview Lab → · Contrast checker → · Palette generator →

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