#31410E#31410E

#31410E is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.076 H 125.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#31410E
RGBrgb(49, 65, 14)
HSLhsl(79, 65%, 15%)
HSVhsv(79, 78%, 25%)
CMYKcmyk(24.6%, 0%, 78.5%, 74.5%)
CIE-LABlab(25.15, -15.33, 27.63)
CIE-LCHlch(25.15, 31.60, 119.02°)
OKLaboklab(34.96% -0.0441 0.0623)
OKLCHoklch(34.96% 0.076 125.3)
XYZxyz(3.2362, 4.4652, 1.1068)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31410E #1E0E41
analogous
#41370E #31410E #17410E
triadic
#31410E #0E3141 #410E31
tetradic
#31410E #0E4137 #1E0E41 #410E17
square
#31410E #0E4137 #1E0E41 #410E17
split-complementary
#31410E #0E1741 #370E41
monochromatic
#131905 #131905 #31410E #577319 #7DA624

Accessibility & contrast

On white

11.09
#31410E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31410E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31410E#FFFFFF#000000##FFFFFF
##31410E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C06
Deuteranopia (green-blind)
#433B12
Tritanopia (blue-blind)
#343E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #31410e;
/* rgb */ color: rgb(49, 65, 14);
/* oklch */ color: oklch(35.0% 0.076 125.3);
Tailwind
colors: {
  custom: {
    50: '#6b7550',
    500: '#31410e',
    950: '#000000',
  },
}
SCSS
$custom: #31410e;
$custom-light: #6b7550;
$custom-dark: #000000;
JSON
{
  "hex": "#31410e",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 14
  },
  "hsl": {
    "h": 78.824,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.07632,
    "h": 125.3
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#31410E
secondary
#472F7C
accent
#40E875
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31410E

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

Preview Lab → · Contrast checker → · Palette generator →

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