#21290F#21290F

#21290F is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.6% C 0.045 H 123.6°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#21290F
RGBrgb(33, 41, 15)
HSLhsl(78, 46%, 11%)
HSVhsv(78, 63%, 16%)
CMYKcmyk(19.5%, 0%, 63.4%, 83.9%)
CIE-LABlab(15.19, -8.84, 15.49)
CIE-LCHlch(15.19, 17.84, 119.71°)
OKLaboklab(26.58% -0.0249 0.0375)
OKLCHoklch(26.58% 0.045 123.6)
XYZxyz(1.5064, 1.9437, 0.7477)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21290F #170F29
analogous
#29240F #21290F #14290F
triadic
#21290F #0F2129 #290F21
tetradic
#21290F #0F2924 #170F29 #290F14
square
#21290F #0F2924 #170F29 #290F14
split-complementary
#21290F #0F1429 #240F29
monochromatic
#121608 #121608 #21290F #45561F #698330

Accessibility & contrast

On white

15.12
#21290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#21290F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21290F
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21290F#FFFFFF#000000##FFFFFF
##21290F1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260D
Deuteranopia (green-blind)
#2A2611
Tritanopia (blue-blind)
#232723
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #21290f;
/* rgb */ color: rgb(33, 41, 15);
/* oklch */ color: oklch(26.6% 0.045 123.6);
Tailwind
colors: {
  custom: {
    50: '#5d624e',
    500: '#21290f',
    950: '#000000',
  },
}
SCSS
$custom: #21290f;
$custom-light: #5d624e;
$custom-dark: #000000;
JSON
{
  "hex": "#21290f",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 78.462,
    "s": 46.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26581,
    "c": 0.04495,
    "h": 123.6
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#21290F
secondary
#413262
accent
#52D67A
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #21290F

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

Preview Lab → · Contrast checker → · Palette generator →

#21290F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva