#313F0E#313F0E

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

Color values

HEX#313F0E
RGBrgb(49, 63, 14)
HSLhsl(77, 64%, 15%)
HSVhsv(77, 78%, 25%)
CMYKcmyk(22.2%, 0%, 77.8%, 75.3%)
CIE-LABlab(24.45, -14.20, 26.91)
CIE-LCHlch(24.45, 30.43, 117.81°)
OKLaboklab(34.39% -0.041 0.0607)
OKLCHoklch(34.39% 0.073 124)
XYZxyz(3.1234, 4.2397, 1.0692)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F0E #1C0E3F
analogous
#3F340E #313F0E #183F0E
triadic
#313F0E #0E313F #3F0E31
tetradic
#313F0E #0E3F34 #1C0E3F #3F0E18
square
#313F0E #0E3F34 #1C0E3F #3F0E18
split-complementary
#313F0E #0E183F #340E3F
monochromatic
#131906 #131906 #313F0E #587119 #7FA324

Accessibility & contrast

On white

11.36
#313F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F0E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F0E#FFFFFF#000000##FFFFFF
##313F0E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B07
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#343C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313f0e;
/* rgb */ color: rgb(49, 63, 14);
/* oklch */ color: oklch(34.4% 0.073 124.0);
Tailwind
colors: {
  custom: {
    50: '#6b7450',
    500: '#313f0e',
    950: '#000000',
  },
}
SCSS
$custom: #313f0e;
$custom-light: #6b7450;
$custom-dark: #000000;
JSON
{
  "hex": "#313f0e",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 77.143,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.0733,
    "h": 124
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#313F0E
secondary
#442F7A
accent
#41E770
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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