#31400A#31400A

#31400A is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.078 H 124.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#31400A
RGBrgb(49, 64, 10)
HSLhsl(77, 73%, 15%)
HSVhsv(77, 84%, 25%)
CMYKcmyk(23.4%, 0%, 84.4%, 74.9%)
CIE-LABlab(24.77, -15.05, 28.99)
CIE-LCHlch(24.77, 32.66, 117.43°)
OKLaboklab(34.64% -0.0438 0.0644)
OKLCHoklch(34.64% 0.078 124.2)
XYZxyz(3.1548, 4.3416, 0.9589)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31400A #190A40
analogous
#40340A #31400A #16400A
triadic
#31400A #0A3140 #400A31
tetradic
#31400A #0A4034 #190A40 #400A16
square
#31400A #0A4034 #190A40 #400A16
split-complementary
#31400A #0A1640 #340A40
monochromatic
#141A04 #141A04 #31400A #5A7512 #82AA1B

Accessibility & contrast

On white

11.24
#31400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31400A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31400A#FFFFFF#000000##FFFFFF
##31400A1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#423B0F
Tritanopia (blue-blind)
#343C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #31400a;
/* rgb */ color: rgb(49, 64, 10);
/* oklch */ color: oklch(34.6% 0.078 124.2);
Tailwind
colors: {
  custom: {
    50: '#6b744e',
    500: '#31400a',
    950: '#000000',
  },
}
SCSS
$custom: #31400a;
$custom-light: #6b744e;
$custom-dark: #000000;
JSON
{
  "hex": "#31400a",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 76.667,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34635,
    "c": 0.07784,
    "h": 124.2
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#31400A
secondary
#40297D
accent
#38F06B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31400A

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

Preview Lab → · Contrast checker → · Palette generator →

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