#31410F#31410F

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

Color values

HEX#31410F
RGBrgb(49, 65, 15)
HSLhsl(79, 63%, 16%)
HSVhsv(79, 77%, 25%)
CMYKcmyk(24.6%, 0%, 76.9%, 74.5%)
CIE-LABlab(25.16, -15.25, 27.17)
CIE-LCHlch(25.16, 31.16, 119.30°)
OKLaboklab(34.97% -0.0438 0.0615)
OKLCHoklch(34.97% 0.076 125.5)
XYZxyz(3.2432, 4.4680, 1.1434)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31410F #1F0F41
analogous
#41380F #31410F #18410F
triadic
#31410F #0F3141 #410F31
tetradic
#31410F #0F4138 #1F0F41 #410F18
square
#31410F #0F4138 #1F0F41 #410F18
split-complementary
#31410F #0F1841 #380F41
monochromatic
#131906 #131906 #31410F #56731A #7CA426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31410F#FFFFFF#000000##FFFFFF
##31410F1.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)
#453C08
Deuteranopia (green-blind)
#433B13
Tritanopia (blue-blind)
#333E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #31410f;
/* rgb */ color: rgb(49, 65, 15);
/* oklch */ color: oklch(35.0% 0.075 125.5);
Tailwind
colors: {
  custom: {
    50: '#6b7551',
    500: '#31410f',
    950: '#000000',
  },
}
SCSS
$custom: #31410f;
$custom-light: #6b7551;
$custom-dark: #000000;
JSON
{
  "hex": "#31410f",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 15
  },
  "hsl": {
    "h": 79.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.0755,
    "h": 125.5
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#31410F
secondary
#48307B
accent
#42E677
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31410F

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

Preview Lab → · Contrast checker → · Palette generator →

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