#21350F#21350F

#21350F is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.066 H 132.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#21350F
RGBrgb(33, 53, 15)
HSLhsl(92, 56%, 13%)
HSVhsv(92, 72%, 21%)
CMYKcmyk(37.7%, 0%, 71.7%, 79.2%)
CIE-LABlab(19.66, -15.96, 20.91)
CIE-LCHlch(19.66, 26.30, 127.36°)
OKLaboklab(30.19% -0.0446 0.0486)
OKLCHoklch(30.19% 0.066 132.5)
XYZxyz(1.9865, 2.9040, 0.9077)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21350F #230F35
analogous
#34350F #21350F #0F3510
triadic
#21350F #0F2135 #350F21
tetradic
#21350F #0F3435 #230F35 #35100F
square
#21350F #0F3435 #230F35 #35100F
split-complementary
#21350F #100F35 #350F34
monochromatic
#0F1807 #0F1807 #21350F #3F651C #5C942A

Accessibility & contrast

On white

13.28
#21350F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#21350F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21350F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21350F#FFFFFF#000000##FFFFFF
##21350F1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310B
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#21332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #21350f;
/* rgb */ color: rgb(33, 53, 15);
/* oklch */ color: oklch(30.2% 0.066 132.5);
Tailwind
colors: {
  custom: {
    50: '#5e6c4f',
    500: '#21350f',
    950: '#000000',
  },
}
SCSS
$custom: #21350f;
$custom-light: #5e6c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21350f",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 15
  },
  "hsl": {
    "h": 91.579,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30194,
    "c": 0.06595,
    "h": 132.5
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#21350F
secondary
#52316F
accent
#49DF98
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040702
muted
#797A78

Preview Lab

Preview with #21350F

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

Preview Lab → · Contrast checker → · Palette generator →

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