#31450E#31450E

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

Color values

HEX#31450E
RGBrgb(49, 69, 14)
HSLhsl(82, 66%, 16%)
HSVhsv(82, 80%, 27%)
CMYKcmyk(29%, 0%, 79.7%, 72.9%)
CIE-LABlab(26.57, -17.54, 29.05)
CIE-LCHlch(26.57, 33.94, 121.12°)
OKLaboklab(36.1% -0.0502 0.0652)
OKLCHoklch(36.1% 0.082 127.6)
XYZxyz(3.4740, 4.9408, 1.1860)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31450E #220E45
analogous
#453E0E #31450E #16450E
triadic
#31450E #0E3145 #450E31
tetradic
#31450E #0E453E #220E45 #450E16
square
#31450E #0E453E #220E45 #450E16
split-complementary
#31450E #0E1645 #3E0E45
monochromatic
#121905 #121905 #31450E #557818 #79AB23

Accessibility & contrast

On white

10.56
#31450E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31450E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31450E#FFFFFF#000000##FFFFFF
##31450E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31450e;
/* rgb */ color: rgb(49, 69, 14);
/* oklch */ color: oklch(36.1% 0.082 127.6);
Tailwind
colors: {
  custom: {
    50: '#6b7851',
    500: '#31450e',
    950: '#000000',
  },
}
SCSS
$custom: #31450e;
$custom-light: #6b7851;
$custom-dark: #000000;
JSON
{
  "hex": "#31450e",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 81.818,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.361,
    "c": 0.08232,
    "h": 127.6
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#31450E
secondary
#4C2F80
accent
#3FE97D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31450E

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

Preview Lab → · Contrast checker → · Palette generator →

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