#314E18#314E18

#314E18 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.088 H 133.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#314E18
RGBrgb(49, 78, 24)
HSLhsl(92, 53%, 20%)
HSVhsv(92, 69%, 31%)
CMYKcmyk(37.2%, 0%, 69.2%, 69.4%)
CIE-LABlab(29.83, -21.40, 27.74)
CIE-LCHlch(29.83, 35.03, 127.65°)
OKLaboklab(38.78% -0.0598 0.0641)
OKLCHoklch(38.78% 0.088 133)
XYZxyz(4.1558, 6.1675, 1.8355)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E18 #35184E
analogous
#4C4E18 #314E18 #184E1A
triadic
#314E18 #18314E #4E1831
tetradic
#314E18 #184C4E #35184E #4E1A18
square
#314E18 #184C4E #35184E #4E1A18
split-complementary
#314E18 #1A184E #4E184C
monochromatic
#0F1707 #141F0A #314E18 #4E7D26 #6CAC35

Accessibility & contrast

On white

9.40
#314E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314E18
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E18#FFFFFF#000000##FFFFFF
##314E181.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514811
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#314B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e18;
/* rgb */ color: rgb(49, 78, 24);
/* oklch */ color: oklch(38.8% 0.088 133.0);
Tailwind
colors: {
  custom: {
    50: '#6c8057',
    500: '#314e18',
    950: '#000000',
  },
}
SCSS
$custom: #314e18;
$custom-light: #6c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#314e18",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 92.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.08763,
    "h": 133
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#314E18
secondary
#643D85
accent
#4BDC99
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314E18

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

Preview Lab → · Contrast checker → · Palette generator →

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