#314E10#314E10

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

Color values

HEX#314E10
RGBrgb(49, 78, 16)
HSLhsl(88, 66%, 18%)
HSVhsv(88, 79%, 31%)
CMYKcmyk(37.2%, 0%, 79.5%, 69.4%)
CIE-LABlab(29.76, -22.11, 31.38)
CIE-LCHlch(29.76, 38.39, 125.16°)
OKLaboklab(38.7% -0.0625 0.0705)
OKLCHoklch(38.7% 0.094 131.6)
XYZxyz(4.0845, 6.1390, 1.4599)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E10 #2D104E
analogous
#4E4C10 #314E10 #124E10
triadic
#314E10 #10314E #4E1031
tetradic
#314E10 #104E4C #2D104E #4E1012
square
#314E10 #104E4C #2D104E #4E1012
split-complementary
#314E10 #10124E #4C104E
monochromatic
#101905 #111B06 #314E10 #51811A #71B425

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314E10#FFFFFF#000000##FFFFFF
##314E101.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)
#524805
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#324A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e10;
/* rgb */ color: rgb(49, 78, 16);
/* oklch */ color: oklch(38.7% 0.094 131.6);
Tailwind
colors: {
  custom: {
    50: '#6c8053',
    500: '#314e10',
    950: '#000000',
  },
}
SCSS
$custom: #314e10;
$custom-light: #6c8053;
$custom-dark: #000000;
JSON
{
  "hex": "#314e10",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 88.065,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38704,
    "c": 0.09418,
    "h": 131.6
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#314E10
secondary
#5A3288
accent
#3FE98E
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314E10

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

Preview Lab → · Contrast checker → · Palette generator →

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