#31430C#31430C

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

Color values

HEX#31430C
RGBrgb(49, 67, 12)
HSLhsl(80, 70%, 15%)
HSVhsv(80, 82%, 26%)
CMYKcmyk(26.9%, 0%, 82.1%, 73.7%)
CIE-LABlab(25.84, -16.59, 29.20)
CIE-LCHlch(25.84, 33.58, 119.60°)
OKLaboklab(35.51% -0.0478 0.0652)
OKLCHoklch(35.51% 0.081 126.3)
XYZxyz(3.3402, 4.6938, 1.0778)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31430C #1E0C43
analogous
#43390C #31430C #16430C
triadic
#31430C #0C3143 #430C31
tetradic
#31430C #0C4339 #1E0C43 #430C16
square
#31430C #0C4339 #1E0C43 #430C16
split-complementary
#31430C #0C1643 #390C43
monochromatic
#131A05 #131A05 #31430C #577715 #7DAB1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #31430c;
/* rgb */ color: rgb(49, 67, 12);
/* oklch */ color: oklch(35.5% 0.081 126.3);
Tailwind
colors: {
  custom: {
    50: '#6b774f',
    500: '#31430c',
    950: '#000000',
  },
}
SCSS
$custom: #31430c;
$custom-light: #6b774f;
$custom-dark: #000000;
JSON
{
  "hex": "#31430c",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 79.636,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35509,
    "c": 0.08083,
    "h": 126.3
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#31430C
secondary
#472C7F
accent
#3BEC75
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31430C

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

Preview Lab → · Contrast checker → · Palette generator →

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