#314A0A#314A0A

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

Color values

HEX#314A0A
RGBrgb(49, 74, 10)
HSLhsl(83, 76%, 16%)
HSVhsv(83, 86%, 29%)
CMYKcmyk(33.8%, 0%, 86.5%, 71%)
CIE-LABlab(28.31, -20.46, 32.33)
CIE-LCHlch(28.31, 38.26, 122.32°)
OKLaboklab(37.51% -0.0585 0.0714)
OKLCHoklch(37.51% 0.092 129.3)
XYZxyz(3.7702, 5.5723, 1.1640)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A0A #230A4A
analogous
#4A430A #314A0A #114A0A
triadic
#314A0A #0A314A #4A0A31
tetradic
#314A0A #0A4A43 #230A4A #4A0A11
square
#314A0A #0A4A43 #230A4A #4A0A11
split-complementary
#314A0A #0A114A #430A4A
monochromatic
#121B04 #121B04 #314A0A #558011 #78B619

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314A0A#FFFFFF#000000##FFFFFF
##314A0A1.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)
#4B4211
Tritanopia (blue-blind)
#33463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a0a;
/* rgb */ color: rgb(49, 74, 10);
/* oklch */ color: oklch(37.5% 0.092 129.3);
Tailwind
colors: {
  custom: {
    50: '#6c7c4f',
    500: '#314a0a',
    950: '#000000',
  },
}
SCSS
$custom: #314a0a;
$custom-light: #6c7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#314a0a",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 83.438,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.0923,
    "h": 129.3
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#314A0A
secondary
#4E2987
accent
#35F37F
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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