#21460F#21460F

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

Color values

HEX#21460F
RGBrgb(33, 70, 15)
HSLhsl(100, 65%, 17%)
HSVhsv(100, 79%, 27%)
CMYKcmyk(52.9%, 0%, 78.6%, 72.5%)
CIE-LABlab(25.97, -24.62, 27.70)
CIE-LCHlch(25.97, 37.06, 131.64°)
OKLaboklab(35.36% -0.0682 0.0629)
OKLCHoklch(35.36% 0.093 137.3)
XYZxyz(2.9035, 4.7379, 1.2134)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21460F #340F46
analogous
#3D460F #21460F #0F4619
triadic
#21460F #0F2146 #460F21
tetradic
#21460F #0F3D46 #340F46 #46190F
square
#21460F #0F3D46 #340F46 #46190F
split-complementary
#21460F #190F46 #460F3D
monochromatic
#0C1905 #0C1905 #21460F #39781A #51AB25

Accessibility & contrast

On white

10.78
#21460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21460F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21460F#FFFFFF#000000##FFFFFF
##21460F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21460f;
/* rgb */ color: rgb(33, 70, 15);
/* oklch */ color: oklch(35.4% 0.093 137.3);
Tailwind
colors: {
  custom: {
    50: '#607a51',
    500: '#21460f',
    950: '#000000',
  },
}
SCSS
$custom: #21460f;
$custom-light: #607a51;
$custom-dark: #000000;
JSON
{
  "hex": "#21460f",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 100.364,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.09275,
    "h": 137.3
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#21460F
secondary
#663080
accent
#40E8B1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21460F

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

Preview Lab → · Contrast checker → · Palette generator →

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