#31430E#31430E

#31430E is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.079 H 126.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#31430E
RGBrgb(49, 67, 14)
HSLhsl(80, 65%, 16%)
HSVhsv(80, 79%, 26%)
CMYKcmyk(26.9%, 0%, 79.1%, 73.7%)
CIE-LABlab(25.86, -16.44, 28.34)
CIE-LCHlch(25.86, 32.77, 120.12°)
OKLaboklab(35.53% -0.0472 0.0638)
OKLCHoklch(35.53% 0.079 126.5)
XYZxyz(3.3531, 4.6989, 1.1457)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31430E #200E43
analogous
#433A0E #31430E #16430E
triadic
#31430E #0E3143 #430E31
tetradic
#31430E #0E433A #200E43 #430E16
square
#31430E #0E433A #200E43 #430E16
split-complementary
#31430E #0E1643 #3A0E43
monochromatic
#131905 #131905 #31430E #567619 #7BA823

Accessibility & contrast

On white

10.83
#31430E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#31430E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31430E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31430E#FFFFFF#000000##FFFFFF
##31430E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E06
Deuteranopia (green-blind)
#443D13
Tritanopia (blue-blind)
#334039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #31430e;
/* rgb */ color: rgb(49, 67, 14);
/* oklch */ color: oklch(35.5% 0.079 126.5);
Tailwind
colors: {
  custom: {
    50: '#6b7750',
    500: '#31430e',
    950: '#000000',
  },
}
SCSS
$custom: #31430e;
$custom-light: #6b7750;
$custom-dark: #000000;
JSON
{
  "hex": "#31430e",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 14
  },
  "hsl": {
    "h": 80.377,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35527,
    "c": 0.07933,
    "h": 126.5
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#31430E
secondary
#4A2F7E
accent
#3FE879
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31430E

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

Preview Lab → · Contrast checker → · Palette generator →

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