#314B14#314B14

#314B14 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.9% C 0.087 H 131.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#314B14
RGBrgb(49, 75, 20)
HSLhsl(88, 58%, 19%)
HSVhsv(88, 73%, 29%)
CMYKcmyk(34.7%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.74, -20.24, 28.52)
CIE-LCHlch(28.74, 34.97, 125.35°)
OKLaboklab(37.88% -0.057 0.0651)
OKLCHoklch(37.88% 0.087 131.2)
XYZxyz(3.9089, 5.7355, 1.5628)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B14 #2E144B
analogous
#4B4914 #314B14 #154B14
triadic
#314B14 #14314B #4B1431
tetradic
#314B14 #144B49 #2E144B #4B1415
square
#314B14 #144B49 #2E144B #4B1415
split-complementary
#314B14 #14154B #49144B
monochromatic
#101806 #111B07 #314B14 #517B21 #70AC2E

Accessibility & contrast

On white

9.78
#314B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314B14
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B14#FFFFFF#000000##FFFFFF
##314B141.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314b14;
/* rgb */ color: rgb(49, 75, 20);
/* oklch */ color: oklch(37.9% 0.087 131.2);
Tailwind
colors: {
  custom: {
    50: '#6b7d55',
    500: '#314b14',
    950: '#000000',
  },
}
SCSS
$custom: #314b14;
$custom-light: #6b7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#314b14",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 88.364,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.08655,
    "h": 131.2
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#314B14
secondary
#5B3883
accent
#47E190
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314B14

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

Preview Lab → · Contrast checker → · Palette generator →

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