#21430C#21430C

#21430C is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.4% C 0.091 H 136.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#21430C
RGBrgb(33, 67, 12)
HSLhsl(97, 70%, 15%)
HSVhsv(97, 82%, 26%)
CMYKcmyk(50.7%, 0%, 82.1%, 73.7%)
CIE-LABlab(24.84, -23.46, 27.87)
CIE-LCHlch(24.84, 36.43, 130.09°)
OKLaboklab(34.42% -0.0653 0.0628)
OKLCHoklch(34.42% 0.091 136.1)
XYZxyz(2.7006, 4.3640, 1.0478)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21430C #2E0C43
analogous
#3C430C #21430C #0C4312
triadic
#21430C #0C2143 #430C21
tetradic
#21430C #0C3C43 #2E0C43 #43120C
square
#21430C #0C3C43 #2E0C43 #43120C
split-complementary
#21430C #120C43 #430C3C
monochromatic
#0D1A05 #0D1A05 #21430C #3B7715 #54AB1F

Accessibility & contrast

On white

11.21
#21430C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#21430C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21430C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21430C#FFFFFF#000000##FFFFFF
##21430C1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D04
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#204038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #21430c;
/* rgb */ color: rgb(33, 67, 12);
/* oklch */ color: oklch(34.4% 0.091 136.1);
Tailwind
colors: {
  custom: {
    50: '#60774f',
    500: '#21430c',
    950: '#000000',
  },
}
SCSS
$custom: #21430c;
$custom-light: #60774f;
$custom-dark: #000000;
JSON
{
  "hex": "#21430c",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 97.091,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34423,
    "c": 0.09055,
    "h": 136.1
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#21430C
secondary
#5F2C7F
accent
#3BECA9
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #21430C

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

Preview Lab → · Contrast checker → · Palette generator →

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