#31450A#31450A

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

Color values

HEX#31450A
RGBrgb(49, 69, 10)
HSLhsl(80, 75%, 15%)
HSVhsv(80, 86%, 27%)
CMYKcmyk(29%, 0%, 85.5%, 72.9%)
CIE-LABlab(26.54, -17.81, 30.67)
CIE-LCHlch(26.54, 35.47, 120.14°)
OKLaboklab(36.07% -0.0513 0.0679)
OKLCHoklch(36.07% 0.085 127.1)
XYZxyz(3.4495, 4.9311, 1.0572)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31450A #1E0A45
analogous
#453B0A #31450A #13450A
triadic
#31450A #0A3145 #450A31
tetradic
#31450A #0A453B #1E0A45 #450A13
square
#31450A #0A453B #1E0A45 #450A13
split-complementary
#31450A #0A1345 #3B0A45
monochromatic
#131B04 #131B04 #31450A #577A12 #7DB019

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31450A#FFFFFF#000000##FFFFFF
##31450A1.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)
#494001
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#33413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #31450a;
/* rgb */ color: rgb(49, 69, 10);
/* oklch */ color: oklch(36.1% 0.085 127.1);
Tailwind
colors: {
  custom: {
    50: '#6c784f',
    500: '#31450a',
    950: '#000000',
  },
}
SCSS
$custom: #31450a;
$custom-light: #6c784f;
$custom-dark: #000000;
JSON
{
  "hex": "#31450a",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 80.339,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.0851,
    "h": 127.1
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#31450A
secondary
#472982
accent
#36F176
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31450A

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

Preview Lab → · Contrast checker → · Palette generator →

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