#21380F#21380F

#21380F is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.071 H 133.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#21380F
RGBrgb(33, 56, 15)
HSLhsl(94, 58%, 14%)
HSVhsv(94, 73%, 22%)
CMYKcmyk(41.1%, 0%, 73.2%, 78%)
CIE-LABlab(20.77, -17.60, 22.16)
CIE-LCHlch(20.77, 28.30, 128.45°)
OKLaboklab(31.11% -0.0491 0.0512)
OKLCHoklch(31.11% 0.071 133.8)
XYZxyz(2.1276, 3.1861, 0.9547)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21380F #260F38
analogous
#36380F #21380F #0F3812
triadic
#21380F #0F2138 #380F21
tetradic
#21380F #0F3638 #260F38 #38120F
square
#21380F #0F3638 #260F38 #38120F
split-complementary
#21380F #120F38 #380F36
monochromatic
#0E1806 #0E1806 #21380F #3D681C #5A9929

Accessibility & contrast

On white

12.83
#21380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#21380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21380F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21380F#FFFFFF#000000##FFFFFF
##21380F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330A
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#21362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #21380f;
/* rgb */ color: rgb(33, 56, 15);
/* oklch */ color: oklch(31.1% 0.071 133.8);
Tailwind
colors: {
  custom: {
    50: '#5e6e4f',
    500: '#21380f',
    950: '#000000',
  },
}
SCSS
$custom: #21380f;
$custom-light: #5e6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21380f",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 93.659,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.07094,
    "h": 133.8
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#21380F
secondary
#553072
accent
#47E19D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #21380F

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

Preview Lab → · Contrast checker → · Palette generator →

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