#20260C#20260C

#20260C is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.5% C 0.044 H 120.4°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#20260C
RGBrgb(32, 38, 12)
HSLhsl(74, 52%, 10%)
HSVhsv(74, 68%, 15%)
CMYKcmyk(15.8%, 0%, 68.4%, 85.1%)
CIE-LABlab(13.94, -7.82, 15.34)
CIE-LCHlch(13.94, 17.22, 117.01°)
OKLaboklab(25.54% -0.0223 0.0379)
OKLCHoklch(25.54% 0.044 120.4)
XYZxyz(1.3552, 1.7199, 0.6083)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20260C #120C26
analogous
#261F0C #20260C #13260C
triadic
#20260C #0C2026 #260C20
tetradic
#20260C #0C261F #120C26 #260C13
square
#20260C #0C261F #120C26 #260C13
split-complementary
#20260C #0C1326 #1F0C26
monochromatic
#141707 #141707 #20260C #47551B #6E8329

Accessibility & contrast

On white

15.62
#20260C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#20260C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20260C
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20260C#FFFFFF#000000##FFFFFF
##20260C1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292409
Deuteranopia (green-blind)
#28240E
Tritanopia (blue-blind)
#222420
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #20260c;
/* rgb */ color: rgb(32, 38, 12);
/* oklch */ color: oklch(25.5% 0.044 120.4);
Tailwind
colors: {
  custom: {
    50: '#5c604c',
    500: '#20260c',
    950: '#000000',
  },
}
SCSS
$custom: #20260c;
$custom-light: #5c604c;
$custom-dark: #000000;
JSON
{
  "hex": "#20260c",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 12
  },
  "hsl": {
    "h": 73.846,
    "s": 52,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25542,
    "c": 0.04399,
    "h": 120.4
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#20260C
secondary
#392D61
accent
#4CDB6D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #20260C

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

Preview Lab → · Contrast checker → · Palette generator →

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