#21280F#21280F

#21280F is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.043 H 122.3°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#21280F
RGBrgb(33, 40, 15)
HSLhsl(77, 45%, 11%)
HSVhsv(77, 63%, 16%)
CMYKcmyk(17.5%, 0%, 62.5%, 84.3%)
CIE-LABlab(14.82, -8.21, 15.02)
CIE-LCHlch(14.82, 17.11, 118.65°)
OKLaboklab(26.28% -0.0231 0.0365)
OKLCHoklch(26.28% 0.043 122.3)
XYZxyz(1.4722, 1.8754, 0.7363)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21280F #160F28
analogous
#28220F #21280F #14280F
triadic
#21280F #0F2128 #280F21
tetradic
#21280F #0F2822 #160F28 #280F14
square
#21280F #0F2822 #160F28 #280F14
split-complementary
#21280F #0F1428 #220F28
monochromatic
#121608 #121608 #21280F #465520 #6A8130

Accessibility & contrast

On white

15.27
#21280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#21280F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21280F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21280F#FFFFFF#000000##FFFFFF
##21280F1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B250D
Deuteranopia (green-blind)
#2A2510
Tritanopia (blue-blind)
#232622
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #21280f;
/* rgb */ color: rgb(33, 40, 15);
/* oklch */ color: oklch(26.3% 0.043 122.3);
Tailwind
colors: {
  custom: {
    50: '#5d614e',
    500: '#21280f',
    950: '#000000',
  },
}
SCSS
$custom: #21280f;
$custom-light: #5d614e;
$custom-dark: #000000;
JSON
{
  "hex": "#21280f",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 76.8,
    "s": 45.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26284,
    "c": 0.04316,
    "h": 122.3
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#21280F
secondary
#3F3261
accent
#53D577
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #21280F

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

Preview Lab → · Contrast checker → · Palette generator →

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