#21390F#21390F

#21390F is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.073 H 134.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#21390F
RGBrgb(33, 57, 15)
HSLhsl(94, 58%, 14%)
HSVhsv(94, 74%, 22%)
CMYKcmyk(42.1%, 0%, 73.7%, 77.6%)
CIE-LABlab(21.15, -18.13, 22.57)
CIE-LCHlch(21.15, 28.95, 128.77°)
OKLaboklab(31.41% -0.0505 0.0521)
OKLCHoklch(31.41% 0.073 134.1)
XYZxyz(2.1765, 3.2840, 0.9710)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21390F #270F39
analogous
#36390F #21390F #0F3912
triadic
#21390F #0F2139 #390F21
tetradic
#21390F #0F3639 #270F39 #39120F
square
#21390F #0F3639 #270F39 #39120F
split-complementary
#21390F #120F39 #390F36
monochromatic
#0E1806 #0E1806 #21390F #3D691C #599A29

Accessibility & contrast

On white

12.68
#21390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#21390F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21390F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21390F#FFFFFF#000000##FFFFFF
##21390F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340A
Deuteranopia (green-blind)
#383212
Tritanopia (blue-blind)
#213730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #21390f;
/* rgb */ color: rgb(33, 57, 15);
/* oklch */ color: oklch(31.4% 0.073 134.1);
Tailwind
colors: {
  custom: {
    50: '#5e6f4f',
    500: '#21390f',
    950: '#000000',
  },
}
SCSS
$custom: #21390f;
$custom-light: #5e6f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21390f",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 94.286,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.07258,
    "h": 134.1
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#21390F
secondary
#573073
accent
#46E29F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #21390F

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

Preview Lab → · Contrast checker → · Palette generator →

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