#31400E#31400E

#31400E is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.075 H 124.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#31400E
RGBrgb(49, 64, 14)
HSLhsl(78, 64%, 15%)
HSVhsv(78, 78%, 25%)
CMYKcmyk(23.4%, 0%, 78.1%, 74.9%)
CIE-LABlab(24.80, -14.76, 27.27)
CIE-LCHlch(24.80, 31.01, 118.43°)
OKLaboklab(34.67% -0.0426 0.0615)
OKLCHoklch(34.67% 0.075 124.7)
XYZxyz(3.1793, 4.3514, 1.0878)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31400E #1D0E40
analogous
#40360E #31400E #18400E
triadic
#31400E #0E3140 #400E31
tetradic
#31400E #0E4036 #1D0E40 #400E18
square
#31400E #0E4036 #1D0E40 #400E18
split-complementary
#31400E #0E1840 #360E40
monochromatic
#131905 #131905 #31400E #577219 #7EA424

Accessibility & contrast

On white

11.23
#31400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#31400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31400E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31400E#FFFFFF#000000##FFFFFF
##31400E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B07
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#343D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #31400e;
/* rgb */ color: rgb(49, 64, 14);
/* oklch */ color: oklch(34.7% 0.075 124.7);
Tailwind
colors: {
  custom: {
    50: '#6b7450',
    500: '#31400e',
    950: '#000000',
  },
}
SCSS
$custom: #31400e;
$custom-light: #6b7450;
$custom-dark: #000000;
JSON
{
  "hex": "#31400e",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 78,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3467,
    "c": 0.07481,
    "h": 124.7
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#31400E
secondary
#462F7B
accent
#41E773
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31400E

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

Preview Lab → · Contrast checker → · Palette generator →

#31400E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva