#20460C#20460C

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

Color values

HEX#20460C
RGBrgb(32, 70, 12)
HSLhsl(99, 71%, 16%)
HSVhsv(99, 83%, 27%)
CMYKcmyk(54.3%, 0%, 82.9%, 72.5%)
CIE-LABlab(25.90, -25.24, 28.92)
CIE-LCHlch(25.90, 38.38, 131.12°)
OKLaboklab(35.28% -0.07 0.0649)
OKLCHoklch(35.28% 0.096 137.1)
XYZxyz(2.8521, 4.7137, 1.1073)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20460C #320C46
analogous
#3D460C #20460C #0C4615
triadic
#20460C #0C2046 #460C20
tetradic
#20460C #0C3D46 #320C46 #46150C
square
#20460C #0C3D46 #320C46 #46150C
split-complementary
#20460C #150C46 #460C3D
monochromatic
#0C1A04 #0C1A04 #20460C #387A15 #50AE1E

Accessibility & contrast

On white

10.81
#20460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#20460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20460C
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20460C#FFFFFF#000000##FFFFFF
##20460C1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20460c;
/* rgb */ color: rgb(32, 70, 12);
/* oklch */ color: oklch(35.3% 0.096 137.1);
Tailwind
colors: {
  custom: {
    50: '#607a4f',
    500: '#20460c',
    950: '#000000',
  },
}
SCSS
$custom: #20460c;
$custom-light: #607a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20460c",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 99.31,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35283,
    "c": 0.0955,
    "h": 137.1
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#20460C
secondary
#642C82
accent
#3AEDB0
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20460C

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

Preview Lab → · Contrast checker → · Palette generator →

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