#31410A#31410A

#31410A is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.079 H 124.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#31410A
RGBrgb(49, 65, 10)
HSLhsl(77, 73%, 15%)
HSVhsv(77, 85%, 25%)
CMYKcmyk(24.6%, 0%, 84.6%, 74.5%)
CIE-LABlab(25.12, -15.61, 29.33)
CIE-LCHlch(25.12, 33.22, 118.02°)
OKLaboklab(34.92% -0.0453 0.0651)
OKLCHoklch(34.92% 0.079 124.9)
XYZxyz(3.2117, 4.4554, 0.9779)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31410A #1A0A41
analogous
#41360A #31410A #15410A
triadic
#31410A #0A3141 #410A31
tetradic
#31410A #0A4136 #1A0A41 #410A15
square
#31410A #0A4136 #1A0A41 #410A15
split-complementary
#31410A #0A1541 #360A41
monochromatic
#141B04 #141B04 #31410A #597612 #81AB1A

Accessibility & contrast

On white

11.11
#31410A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#31410A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31410A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31410A#FFFFFF#000000##FFFFFF
##31410A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#343D37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #31410a;
/* rgb */ color: rgb(49, 65, 10);
/* oklch */ color: oklch(34.9% 0.079 124.9);
Tailwind
colors: {
  custom: {
    50: '#6b754e',
    500: '#31410a',
    950: '#000000',
  },
}
SCSS
$custom: #31410a;
$custom-light: #6b754e;
$custom-dark: #000000;
JSON
{
  "hex": "#31410a",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 10
  },
  "hsl": {
    "h": 77.455,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.0793,
    "h": 124.9
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#31410A
secondary
#41297E
accent
#38F06D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31410A

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

Preview Lab → · Contrast checker → · Palette generator →

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