#31430B#31430B

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

Color values

HEX#31430B
RGBrgb(49, 67, 11)
HSLhsl(79, 72%, 15%)
HSVhsv(79, 84%, 26%)
CMYKcmyk(26.9%, 0%, 83.6%, 73.7%)
CIE-LABlab(25.84, -16.65, 29.61)
CIE-LCHlch(25.84, 33.97, 119.35°)
OKLaboklab(35.5% -0.0481 0.0659)
OKLCHoklch(35.5% 0.082 126.1)
XYZxyz(3.3342, 4.6914, 1.0464)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31430B #1D0B43
analogous
#43390B #31430B #15430B
triadic
#31430B #0B3143 #430B31
tetradic
#31430B #0B4339 #1D0B43 #430B15
square
#31430B #0B4339 #1D0B43 #430B15
split-complementary
#31430B #0B1543 #390B43
monochromatic
#131A04 #131A04 #31430B #577814 #7EAC1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31430B#FFFFFF#000000##FFFFFF
##31430B1.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)
#473E02
Deuteranopia (green-blind)
#453D10
Tritanopia (blue-blind)
#333F38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #31430b;
/* rgb */ color: rgb(49, 67, 11);
/* oklch */ color: oklch(35.5% 0.082 126.1);
Tailwind
colors: {
  custom: {
    50: '#6b774f',
    500: '#31430b',
    950: '#000000',
  },
}
SCSS
$custom: #31430b;
$custom-light: #6b774f;
$custom-dark: #000000;
JSON
{
  "hex": "#31430b",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 11
  },
  "hsl": {
    "h": 79.286,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35501,
    "c": 0.08153,
    "h": 126.1
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#31430B
secondary
#462A80
accent
#39EF74
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31430B

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

Preview Lab → · Contrast checker → · Palette generator →

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