#1F430C#1F430C

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

Color values

HEX#1F430C
RGBrgb(31, 67, 12)
HSLhsl(99, 70%, 15%)
HSVhsv(99, 82%, 26%)
CMYKcmyk(53.7%, 0%, 82.1%, 73.7%)
CIE-LABlab(24.74, -24.21, 27.74)
CIE-LCHlch(24.74, 36.82, 131.11°)
OKLaboklab(34.31% -0.0671 0.0625)
OKLCHoklch(34.31% 0.092 137)
XYZxyz(2.6385, 4.3320, 1.0449)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F430C #300C43
analogous
#3A430C #1F430C #0C4315
triadic
#1F430C #0C1F43 #430C1F
tetradic
#1F430C #0C3A43 #300C43 #43150C
square
#1F430C #0C3A43 #300C43 #43150C
split-complementary
#1F430C #150C43 #430C3A
monochromatic
#0C1A05 #0C1A05 #1F430C #377715 #4FAB1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F430C#FFFFFF#000000##FFFFFF
##1F430C1.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)
#463D04
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#1D4038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f430c;
/* rgb */ color: rgb(31, 67, 12);
/* oklch */ color: oklch(34.3% 0.092 137.0);
Tailwind
colors: {
  custom: {
    50: '#5f774f',
    500: '#1f430c',
    950: '#000000',
  },
}
SCSS
$custom: #1f430c;
$custom-light: #5f774f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f430c",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 99.273,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34314,
    "c": 0.09174,
    "h": 137
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#1F430C
secondary
#622C7F
accent
#3BECAF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F430C

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

Preview Lab → · Contrast checker → · Palette generator →

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