#1F430A#1F430A

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

Color values

HEX#1F430A
RGBrgb(31, 67, 10)
HSLhsl(98, 74%, 15%)
HSVhsv(98, 85%, 26%)
CMYKcmyk(53.7%, 0%, 85.1%, 73.7%)
CIE-LABlab(24.73, -24.37, 28.56)
CIE-LCHlch(24.73, 37.54, 130.47°)
OKLaboklab(34.3% -0.0677 0.0639)
OKLCHoklch(34.3% 0.093 136.7)
XYZxyz(2.6269, 4.3274, 0.9839)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F430A #2E0A43
analogous
#3B430A #1F430A #0A4312
triadic
#1F430A #0A1F43 #430A1F
tetradic
#1F430A #0A3B43 #2E0A43 #43120A
square
#1F430A #0A3B43 #2E0A43 #43120A
split-complementary
#1F430A #120A43 #430A3B
monochromatic
#0C1B04 #0C1B04 #1F430A #387812 #50AE1A

Accessibility & contrast

On white

11.26
#1F430A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F430A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F430A#FFFFFF#000000##FFFFFF
##1F430A1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f430a;
/* rgb */ color: rgb(31, 67, 10);
/* oklch */ color: oklch(34.3% 0.093 136.7);
Tailwind
colors: {
  custom: {
    50: '#5f774e',
    500: '#1f430a',
    950: '#000000',
  },
}
SCSS
$custom: #1f430a;
$custom-light: #5f774e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f430a",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 10
  },
  "hsl": {
    "h": 97.895,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34297,
    "c": 0.0931,
    "h": 136.7
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#1F430A
secondary
#602980
accent
#37F1AC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F430A

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

Preview Lab → · Contrast checker → · Palette generator →

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