#21260A#21260A

#21260A is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.6% C 0.046 H 118.3°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#21260A
RGBrgb(33, 38, 10)
HSLhsl(71, 58%, 9%)
HSVhsv(71, 74%, 15%)
CMYKcmyk(13.2%, 0%, 73.7%, 85.1%)
CIE-LABlab(14.01, -7.52, 16.30)
CIE-LCHlch(14.01, 17.95, 114.76°)
OKLaboklab(25.61% -0.0217 0.0405)
OKLCHoklch(25.61% 0.046 118.3)
XYZxyz(1.3751, 1.7315, 0.5489)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21260A #0F0A26
analogous
#261D0A #21260A #13260A
triadic
#21260A #0A2126 #260A21
tetradic
#21260A #0A261D #0F0A26 #260A13
square
#21260A #0A261D #0F0A26 #260A13
split-complementary
#21260A #0A1326 #1D0A26
monochromatic
#151806 #151806 #21260A #4B5617 #758724

Accessibility & contrast

On white

15.60
#21260A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#21260A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21260A
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21260A#FFFFFF#000000##FFFFFF
##21260A1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292407
Deuteranopia (green-blind)
#28240C
Tritanopia (blue-blind)
#232420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #21260a;
/* rgb */ color: rgb(33, 38, 10);
/* oklch */ color: oklch(25.6% 0.046 118.3);
Tailwind
colors: {
  custom: {
    50: '#5d604b',
    500: '#21260a',
    950: '#000000',
  },
}
SCSS
$custom: #21260a;
$custom-light: #5d604b;
$custom-dark: #000000;
JSON
{
  "hex": "#21260a",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 10
  },
  "hsl": {
    "h": 70.714,
    "s": 58.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25611,
    "c": 0.04594,
    "h": 118.3
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#21260A
secondary
#342962
accent
#46E262
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21260A

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

Preview Lab → · Contrast checker → · Palette generator →

#21260A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva