#314B15#314B15

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

Color values

HEX#314B15
RGBrgb(49, 75, 21)
HSLhsl(89, 56%, 19%)
HSVhsv(89, 72%, 29%)
CMYKcmyk(34.7%, 0%, 72%, 70.6%)
CIE-LABlab(28.74, -20.14, 28.05)
CIE-LCHlch(28.74, 34.53, 125.68°)
OKLaboklab(37.89% -0.0566 0.0643)
OKLCHoklch(37.89% 0.086 131.4)
XYZxyz(3.9180, 5.7391, 1.6107)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B15 #2F154B
analogous
#4B4A15 #314B15 #164B15
triadic
#314B15 #15314B #4B1531
tetradic
#314B15 #154B4A #2F154B #4B1516
square
#314B15 #154B4A #2F154B #4B1516
split-complementary
#314B15 #15164B #4A154B
monochromatic
#101807 #121B08 #314B15 #507B22 #6FAB30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314B15#FFFFFF#000000##FFFFFF
##314B151.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)
#4F450E
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b15;
/* rgb */ color: rgb(49, 75, 21);
/* oklch */ color: oklch(37.9% 0.086 131.4);
Tailwind
colors: {
  custom: {
    50: '#6b7d55',
    500: '#314b15',
    950: '#000000',
  },
}
SCSS
$custom: #314b15;
$custom-light: #6b7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#314b15",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 88.889,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.08568,
    "h": 131.4
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#314B15
secondary
#5D3983
accent
#48E091
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314B15

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

Preview Lab → · Contrast checker → · Palette generator →

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