#21320F#21320F

#21320F is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.061 H 131.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#21320F
RGBrgb(33, 50, 15)
HSLhsl(89, 54%, 13%)
HSVhsv(89, 70%, 20%)
CMYKcmyk(34%, 0%, 70%, 80.4%)
CIE-LABlab(18.54, -14.27, 19.61)
CIE-LCHlch(18.54, 24.25, 126.04°)
OKLaboklab(29.29% -0.0399 0.0459)
OKLCHoklch(29.29% 0.061 131)
XYZxyz(1.8540, 2.6390, 0.8635)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21320F #200F32
analogous
#32310F #21320F #0F320F
triadic
#21320F #0F2132 #320F21
tetradic
#21320F #0F3231 #200F32 #320F0F
square
#21320F #0F3231 #200F32 #320F0F
split-complementary
#21320F #0F0F32 #310F32
monochromatic
#101807 #101807 #21320F #40611D #5F902B

Accessibility & contrast

On white

13.75
#21320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#21320F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21320F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21320F#FFFFFF#000000##FFFFFF
##21320F1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0B
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#22302A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #21320f;
/* rgb */ color: rgb(33, 50, 15);
/* oklch */ color: oklch(29.3% 0.061 131.0);
Tailwind
colors: {
  custom: {
    50: '#5e6a4f',
    500: '#21320f',
    950: '#000000',
  },
}
SCSS
$custom: #21320f;
$custom-light: #5e6a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21320f",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 89.143,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29285,
    "c": 0.06083,
    "h": 131
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#21320F
secondary
#4E316C
accent
#4BDD92
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #21320F

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

Preview Lab → · Contrast checker → · Palette generator →

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