#21490C#21490C

#21490C is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.2% C 0.099 H 137.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#21490C
RGBrgb(33, 73, 12)
HSLhsl(99, 72%, 17%)
HSVhsv(99, 84%, 29%)
CMYKcmyk(54.8%, 0%, 83.6%, 71.4%)
CIE-LABlab(27.06, -26.26, 30.07)
CIE-LCHlch(27.06, 39.92, 131.13°)
OKLaboklab(36.25% -0.0728 0.0673)
OKLCHoklch(36.25% 0.099 137.2)
XYZxyz(3.0760, 5.1147, 1.1729)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21490C #340C49
analogous
#40490C #21490C #0C4916
triadic
#21490C #0C2149 #490C21
tetradic
#21490C #0C4049 #340C49 #49160C
square
#21490C #0C4049 #340C49 #49160C
split-complementary
#21490C #160C49 #490C40
monochromatic
#0C1A04 #0C1A04 #21490C #397E15 #51B21D

Accessibility & contrast

On white

10.38
#21490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#21490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21490C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21490C#FFFFFF#000000##FFFFFF
##21490C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4202
Deuteranopia (green-blind)
#463F12
Tritanopia (blue-blind)
#1E463D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21490c;
/* rgb */ color: rgb(33, 73, 12);
/* oklch */ color: oklch(36.2% 0.099 137.2);
Tailwind
colors: {
  custom: {
    50: '#617c50',
    500: '#21490c',
    950: '#000000',
  },
}
SCSS
$custom: #21490c;
$custom-light: #617c50;
$custom-dark: #000000;
JSON
{
  "hex": "#21490c",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 99.344,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36247,
    "c": 0.0992,
    "h": 137.2
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#21490C
secondary
#662C85
accent
#39EEB0
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21490C

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

Preview Lab → · Contrast checker → · Palette generator →

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