#21360C#21360C

#21360C is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.5% C 0.070 H 132.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#21360C
RGBrgb(33, 54, 12)
HSLhsl(90, 64%, 13%)
HSVhsv(90, 78%, 21%)
CMYKcmyk(38.9%, 0%, 77.8%, 78.8%)
CIE-LABlab(20.00, -16.83, 22.77)
CIE-LCHlch(20.00, 28.31, 126.46°)
OKLaboklab(30.46% -0.0473 0.0523)
OKLCHoklch(30.46% 0.071 132.1)
XYZxyz(2.0127, 2.9881, 0.8185)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21360C #210C36
analogous
#36360C #21360C #0C360C
triadic
#21360C #0C2136 #360C21
tetradic
#21360C #0C3636 #210C36 #360C0C
square
#21360C #0C3636 #210C36 #360C0C
split-complementary
#21360C #0C0C36 #360C36
monochromatic
#0F1906 #0F1906 #21360C #406817 #5E9A22

Accessibility & contrast

On white

13.14
#21360C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#21360C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21360C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21360C#FFFFFF#000000##FFFFFF
##21360C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393107
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#22332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #21360c;
/* rgb */ color: rgb(33, 54, 12);
/* oklch */ color: oklch(30.5% 0.070 132.1);
Tailwind
colors: {
  custom: {
    50: '#5e6d4d',
    500: '#21360c',
    950: '#000000',
  },
}
SCSS
$custom: #21360c;
$custom-light: #5e6d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21360c",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 12
  },
  "hsl": {
    "h": 90,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30462,
    "c": 0.0705,
    "h": 132.1
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#21360C
secondary
#4F2C72
accent
#41E794
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #21360C

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

Preview Lab → · Contrast checker → · Palette generator →

#21360C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva