#21260E#21260E

#21260E is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.7% C 0.041 H 119.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#21260E
RGBrgb(33, 38, 14)
HSLhsl(73, 46%, 10%)
HSVhsv(73, 63%, 15%)
CMYKcmyk(13.2%, 0%, 63.2%, 85.1%)
CIE-LABlab(14.07, -7.04, 14.56)
CIE-LCHlch(14.07, 16.17, 115.82°)
OKLaboklab(25.67% -0.0199 0.0358)
OKLCHoklch(25.67% 0.041 119.1)
XYZxyz(1.3996, 1.7413, 0.6777)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21260E #130E26
analogous
#261F0E #21260E #15260E
triadic
#21260E #0E2126 #260E21
tetradic
#21260E #0E261F #130E26 #260E15
square
#21260E #0E261F #130E26 #260E15
split-complementary
#21260E #0E1526 #1F0E26
monochromatic
#131608 #131608 #21260E #48531E #6F7F2F

Accessibility & contrast

On white

15.58
#21260E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21260E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21260E#FFFFFF#000000##FFFFFF
##21260E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21260e;
/* rgb */ color: rgb(33, 38, 14);
/* oklch */ color: oklch(25.7% 0.041 119.1);
Tailwind
colors: {
  custom: {
    50: '#5c604d',
    500: '#21260e',
    950: '#000000',
  },
}
SCSS
$custom: #21260e;
$custom-light: #5c604d;
$custom-dark: #000000;
JSON
{
  "hex": "#21260e",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 14
  },
  "hsl": {
    "h": 72.5,
    "s": 46.154,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25674,
    "c": 0.04096,
    "h": 119.1
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#21260E
secondary
#3A315F
accent
#52D66D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21260E

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

Preview Lab → · Contrast checker → · Palette generator →

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