#21460C#21460C

#21460C is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.3% C 0.095 H 136.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#21460C
RGBrgb(33, 70, 12)
HSLhsl(98, 71%, 16%)
HSVhsv(98, 83%, 27%)
CMYKcmyk(52.9%, 0%, 82.9%, 72.5%)
CIE-LABlab(25.95, -24.88, 28.98)
CIE-LCHlch(25.95, 38.19, 130.65°)
OKLaboklab(35.34% -0.0691 0.0651)
OKLCHoklch(35.34% 0.095 136.7)
XYZxyz(2.8836, 4.7300, 1.1088)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21460C #310C46
analogous
#3E460C #21460C #0C4614
triadic
#21460C #0C2146 #460C21
tetradic
#21460C #0C3E46 #310C46 #46140C
square
#21460C #0C3E46 #310C46 #46140C
split-complementary
#21460C #140C46 #460C3E
monochromatic
#0C1A04 #0C1A04 #21460C #3A7A15 #52AE1E

Accessibility & contrast

On white

10.79
#21460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#21460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21460C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21460C#FFFFFF#000000##FFFFFF
##21460C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F03
Deuteranopia (green-blind)
#443C12
Tritanopia (blue-blind)
#1F433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21460c;
/* rgb */ color: rgb(33, 70, 12);
/* oklch */ color: oklch(35.3% 0.095 136.7);
Tailwind
colors: {
  custom: {
    50: '#617a4f',
    500: '#21460c',
    950: '#000000',
  },
}
SCSS
$custom: #21460c;
$custom-light: #617a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21460c",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 98.276,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35336,
    "c": 0.09492,
    "h": 136.7
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#21460C
secondary
#632C82
accent
#3AEDAD
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21460C

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

Preview Lab → · Contrast checker → · Palette generator →

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