#21460E#21460E

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

Color values

HEX#21460E
RGBrgb(33, 70, 14)
HSLhsl(100, 67%, 16%)
HSVhsv(100, 80%, 27%)
CMYKcmyk(52.9%, 0%, 80%, 72.5%)
CIE-LABlab(25.97, -24.71, 28.14)
CIE-LCHlch(25.97, 37.45, 131.29°)
OKLaboklab(35.35% -0.0685 0.0636)
OKLCHoklch(35.35% 0.094 137.1)
XYZxyz(2.8965, 4.7352, 1.1767)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21460E #330E46
analogous
#3D460E #21460E #0E4617
triadic
#21460E #0E2146 #460E21
tetradic
#21460E #0E3D46 #330E46 #46170E
square
#21460E #0E3D46 #330E46 #46170E
split-complementary
#21460E #170E46 #460E3D
monochromatic
#0C1A05 #0C1A05 #21460E #397918 #51AC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21460E#FFFFFF#000000##FFFFFF
##21460E1.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)
#493F05
Deuteranopia (green-blind)
#443C13
Tritanopia (blue-blind)
#1F433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21460e;
/* rgb */ color: rgb(33, 70, 14);
/* oklch */ color: oklch(35.4% 0.093 137.1);
Tailwind
colors: {
  custom: {
    50: '#617a50',
    500: '#21460e',
    950: '#000000',
  },
}
SCSS
$custom: #21460e;
$custom-light: #617a50;
$custom-dark: #000000;
JSON
{
  "hex": "#21460e",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 99.643,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.0935,
    "h": 137.1
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#21460E
secondary
#652F81
accent
#3EEAAF
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21460E

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

Preview Lab → · Contrast checker → · Palette generator →

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