#1F430B#1F430B

#1F430B is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.092 H 136.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1F430B
RGBrgb(31, 67, 11)
HSLhsl(99, 72%, 15%)
HSVhsv(99, 84%, 26%)
CMYKcmyk(53.7%, 0%, 83.6%, 73.7%)
CIE-LABlab(24.73, -24.29, 28.16)
CIE-LCHlch(24.73, 37.19, 130.78°)
OKLaboklab(34.31% -0.0674 0.0632)
OKLCHoklch(34.31% 0.092 136.9)
XYZxyz(2.6326, 4.3296, 1.0135)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F430B #2F0B43
analogous
#3B430B #1F430B #0B4313
triadic
#1F430B #0B1F43 #430B1F
tetradic
#1F430B #0B3B43 #2F0B43 #43130B
square
#1F430B #0B3B43 #2F0B43 #43130B
split-complementary
#1F430B #130B43 #430B3B
monochromatic
#0C1A04 #0C1A04 #1F430B #377814 #50AC1C

Accessibility & contrast

On white

11.25
#1F430B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1F430B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F430B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F430B#FFFFFF#000000##FFFFFF
##1F430B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D03
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#1D4038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f430b;
/* rgb */ color: rgb(31, 67, 11);
/* oklch */ color: oklch(34.3% 0.092 136.9);
Tailwind
colors: {
  custom: {
    50: '#5f774e',
    500: '#1f430b',
    950: '#000000',
  },
}
SCSS
$custom: #1f430b;
$custom-light: #5f774e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f430b",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 11
  },
  "hsl": {
    "h": 98.571,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.09243,
    "h": 136.9
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#1F430B
secondary
#612A80
accent
#39EFAE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F430B

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

Preview Lab → · Contrast checker → · Palette generator →

#1F430B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva