#313F0D#313F0D

#313F0D is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.4% C 0.074 H 123.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#313F0D
RGBrgb(49, 63, 13)
HSLhsl(77, 66%, 15%)
HSVhsv(77, 79%, 25%)
CMYKcmyk(22.2%, 0%, 79.4%, 75.3%)
CIE-LABlab(24.44, -14.27, 27.37)
CIE-LCHlch(24.44, 30.86, 117.54°)
OKLaboklab(34.38% -0.0413 0.0615)
OKLCHoklch(34.38% 0.074 123.9)
XYZxyz(3.1168, 4.2370, 1.0343)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F0D #1B0D3F
analogous
#3F340D #313F0D #183F0D
triadic
#313F0D #0D313F #3F0D31
tetradic
#313F0D #0D3F34 #1B0D3F #3F0D18
square
#313F0D #0D3F34 #1B0D3F #3F0D18
split-complementary
#313F0D #0D183F #340D3F
monochromatic
#141905 #141905 #313F0D #587217 #80A422

Accessibility & contrast

On white

11.37
#313F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#313F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F0D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F0D#FFFFFF#000000##FFFFFF
##313F0D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#343B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313f0d;
/* rgb */ color: rgb(49, 63, 13);
/* oklch */ color: oklch(34.4% 0.074 123.9);
Tailwind
colors: {
  custom: {
    50: '#6b744f',
    500: '#313f0d',
    950: '#000000',
  },
}
SCSS
$custom: #313f0d;
$custom-light: #6b744f;
$custom-dark: #000000;
JSON
{
  "hex": "#313f0d",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 76.8,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34376,
    "c": 0.07413,
    "h": 123.9
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#313F0D
secondary
#432D7B
accent
#3FE96F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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