#31450D#31450D

#31450D is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.083 H 127.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#31450D
RGBrgb(49, 69, 13)
HSLhsl(81, 68%, 16%)
HSVhsv(81, 81%, 27%)
CMYKcmyk(29%, 0%, 81.2%, 72.9%)
CIE-LABlab(26.56, -17.61, 29.48)
CIE-LCHlch(26.56, 34.34, 120.85°)
OKLaboklab(36.09% -0.0505 0.066)
OKLCHoklch(36.09% 0.083 127.4)
XYZxyz(3.4674, 4.9382, 1.1512)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31450D #210D45
analogous
#453D0D #31450D #15450D
triadic
#31450D #0D3145 #450D31
tetradic
#31450D #0D453D #210D45 #450D15
square
#31450D #0D453D #210D45 #450D15
split-complementary
#31450D #0D1545 #3D0D45
monochromatic
#121A05 #121A05 #31450D #567817 #7AAC20

Accessibility & contrast

On white

10.57
#31450D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#31450D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31450D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31450D#FFFFFF#000000##FFFFFF
##31450D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494004
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#33413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #31450d;
/* rgb */ color: rgb(49, 69, 13);
/* oklch */ color: oklch(36.1% 0.083 127.4);
Tailwind
colors: {
  custom: {
    50: '#6b7850',
    500: '#31450d',
    950: '#000000',
  },
}
SCSS
$custom: #31450d;
$custom-light: #6b7850;
$custom-dark: #000000;
JSON
{
  "hex": "#31450d",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 13
  },
  "hsl": {
    "h": 81.429,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36091,
    "c": 0.08307,
    "h": 127.4
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#31450D
secondary
#4B2D80
accent
#3DEB7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31450D

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

Preview Lab → · Contrast checker → · Palette generator →

#31450D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva