#314B18#314B18

#314B18 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.083 H 132.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#314B18
RGBrgb(49, 75, 24)
HSLhsl(91, 52%, 19%)
HSVhsv(91, 68%, 29%)
CMYKcmyk(34.7%, 0%, 68%, 70.6%)
CIE-LABlab(28.78, -19.84, 26.57)
CIE-LCHlch(28.78, 33.16, 126.75°)
OKLaboklab(37.92% -0.0555 0.0616)
OKLCHoklch(37.92% 0.083 132.1)
XYZxyz(3.9475, 5.7509, 1.7660)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B18 #32184B
analogous
#4B4B18 #314B18 #184B19
triadic
#314B18 #18314B #4B1831
tetradic
#314B18 #184B4B #32184B #4B1918
square
#314B18 #184B4B #32184B #4B1918
split-complementary
#314B18 #19184B #4B184B
monochromatic
#0F1707 #131D09 #314B18 #4F7927 #6EA836

Accessibility & contrast

On white

9.77
#314B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#314B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B18
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B18#FFFFFF#000000##FFFFFF
##314B181.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#4B431C
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b18;
/* rgb */ color: rgb(49, 75, 24);
/* oklch */ color: oklch(37.9% 0.083 132.1);
Tailwind
colors: {
  custom: {
    50: '#6b7d57',
    500: '#314b18',
    950: '#000000',
  },
}
SCSS
$custom: #314b18;
$custom-light: #6b7d57;
$custom-dark: #000000;
JSON
{
  "hex": "#314b18",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 90.588,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.08292,
    "h": 132.1
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#314B18
secondary
#603D82
accent
#4DDB95
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314B18

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

Preview Lab → · Contrast checker → · Palette generator →

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