#313E0D#313E0D

#313E0D is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.073 H 123.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#313E0D
RGBrgb(49, 62, 13)
HSLhsl(76, 65%, 15%)
HSVhsv(76, 79%, 24%)
CMYKcmyk(21%, 0%, 79%, 75.7%)
CIE-LABlab(24.09, -13.70, 27.01)
CIE-LCHlch(24.09, 30.29, 116.89°)
OKLaboklab(34.09% -0.0398 0.0608)
OKLCHoklch(34.09% 0.073 123.2)
XYZxyz(3.0619, 4.1273, 1.0160)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E0D #1A0D3E
analogous
#3E330D #313E0D #193E0D
triadic
#313E0D #0D313E #3E0D31
tetradic
#313E0D #0D3E33 #1A0D3E #3E0D19
square
#313E0D #0D3E33 #1A0D3E #3E0D19
split-complementary
#313E0D #0D193E #330D3E
monochromatic
#141905 #141905 #313E0D #597118 #81A322

Accessibility & contrast

On white

11.50
#313E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E0D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E0D#FFFFFF#000000##FFFFFF
##313E0D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A06
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#343B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e0d;
/* rgb */ color: rgb(49, 62, 13);
/* oklch */ color: oklch(34.1% 0.073 123.2);
Tailwind
colors: {
  custom: {
    50: '#6b734f',
    500: '#313e0d',
    950: '#000000',
  },
}
SCSS
$custom: #313e0d;
$custom-light: #6b734f;
$custom-dark: #000000;
JSON
{
  "hex": "#313e0d",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 13
  },
  "hsl": {
    "h": 75.918,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.07263,
    "h": 123.2
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#313E0D
secondary
#412D7A
accent
#40E86C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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