#314E0D#314E0D

#314E0D is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.096 H 131.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#314E0D
RGBrgb(49, 78, 13)
HSLhsl(87, 71%, 18%)
HSVhsv(87, 83%, 31%)
CMYKcmyk(37.2%, 0%, 83.3%, 69.4%)
CIE-LABlab(29.74, -22.32, 32.57)
CIE-LCHlch(29.74, 39.49, 124.42°)
OKLaboklab(38.68% -0.0633 0.0724)
OKLCHoklch(38.68% 0.096 131.2)
XYZxyz(4.0636, 6.1307, 1.3499)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E0D #2A0D4E
analogous
#4E4A0D #314E0D #104E0D
triadic
#314E0D #0D314E #4E0D31
tetradic
#314E0D #0D4E4A #2A0D4E #4E0D10
square
#314E0D #0D4E4A #2A0D4E #4E0D10
split-complementary
#314E0D #0D104E #4A0D4E
monochromatic
#101A04 #101A04 #314E0D #528216 #73B71E

Accessibility & contrast

On white

9.43
#314E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#314E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E0D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E0D#FFFFFF#000000##FFFFFF
##314E0D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524701
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#324A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e0d;
/* rgb */ color: rgb(49, 78, 13);
/* oklch */ color: oklch(38.7% 0.096 131.2);
Tailwind
colors: {
  custom: {
    50: '#6c8051',
    500: '#314e0d',
    950: '#000000',
  },
}
SCSS
$custom: #314e0d;
$custom-light: #6c8051;
$custom-dark: #000000;
JSON
{
  "hex": "#314e0d",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 86.769,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.0962,
    "h": 131.2
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#314E0D
secondary
#562E89
accent
#3AEE8A
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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