#313E14#313E14

#313E14 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.2% C 0.066 H 124.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#313E14
RGBrgb(49, 62, 20)
HSLhsl(79, 51%, 16%)
HSVhsv(79, 68%, 24%)
CMYKcmyk(21%, 0%, 67.7%, 75.7%)
CIE-LABlab(24.16, -13.07, 23.54)
CIE-LCHlch(24.16, 26.93, 119.04°)
OKLaboklab(34.17% -0.0372 0.0546)
OKLCHoklch(34.17% 0.066 124.3)
XYZxyz(3.1155, 4.1487, 1.2983)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E14 #21143E
analogous
#3E3614 #313E14 #1C3E14
triadic
#313E14 #14313E #3E1431
tetradic
#313E14 #143E36 #21143E #3E141C
square
#313E14 #143E36 #21143E #3E141C
split-complementary
#313E14 #141C3E #36143E
monochromatic
#121707 #121707 #313E14 #566C23 #7A9B32

Accessibility & contrast

On white

11.48
#313E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#313E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E14
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E14#FFFFFF#000000##FFFFFF
##313E141.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0F
Deuteranopia (green-blind)
#403917
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e14;
/* rgb */ color: rgb(49, 62, 20);
/* oklch */ color: oklch(34.2% 0.066 124.3);
Tailwind
colors: {
  custom: {
    50: '#6a7353',
    500: '#313e14',
    950: '#000000',
  },
}
SCSS
$custom: #313e14;
$custom-light: #6a7353;
$custom-dark: #000000;
JSON
{
  "hex": "#313e14",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 20
  },
  "hsl": {
    "h": 78.571,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34169,
    "c": 0.06609,
    "h": 124.3
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#313E14
secondary
#4B3876
accent
#4DDB79
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #313E14

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

Preview Lab → · Contrast checker → · Palette generator →

#313E14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva