#31430F#31430F

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

Color values

HEX#31430F
RGBrgb(49, 67, 15)
HSLhsl(81, 63%, 16%)
HSVhsv(81, 78%, 26%)
CMYKcmyk(26.9%, 0%, 77.6%, 73.7%)
CIE-LABlab(25.87, -16.36, 27.90)
CIE-LCHlch(25.87, 32.34, 120.40°)
OKLaboklab(35.54% -0.0469 0.063)
OKLCHoklch(35.54% 0.079 126.7)
XYZxyz(3.3600, 4.7017, 1.1823)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31430F #210F43
analogous
#433B0F #31430F #17430F
triadic
#31430F #0F3143 #430F31
tetradic
#31430F #0F433B #210F43 #430F17
square
#31430F #0F433B #210F43 #430F17
split-complementary
#31430F #0F1743 #3B0F43
monochromatic
#121906 #121906 #31430F #56751A #7AA725

Accessibility & contrast

On white

10.82
#31430F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31430F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31430F#FFFFFF#000000##FFFFFF
##31430F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31430f;
/* rgb */ color: rgb(49, 67, 15);
/* oklch */ color: oklch(35.5% 0.079 126.7);
Tailwind
colors: {
  custom: {
    50: '#6b7751',
    500: '#31430f',
    950: '#000000',
  },
}
SCSS
$custom: #31430f;
$custom-light: #6b7751;
$custom-dark: #000000;
JSON
{
  "hex": "#31430f",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 15
  },
  "hsl": {
    "h": 80.769,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35536,
    "c": 0.07853,
    "h": 126.7
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#31430F
secondary
#4B307D
accent
#41E67B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31430F

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

Preview Lab → · Contrast checker → · Palette generator →

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