#262A20#262A20

#262A20 is a dark, near-neutral yellow-green. Relative luminance 0.022; OKLCH L 27.8% C 0.019 H 125.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#262A20
RGBrgb(38, 42, 32)
HSLhsl(84, 14%, 15%)
HSVhsv(84, 24%, 16%)
CMYKcmyk(9.5%, 0%, 23.8%, 83.5%)
CIE-LABlab(16.37, -4.10, 5.95)
CIE-LCHlch(16.37, 7.23, 124.54°)
OKLaboklab(27.76% -0.0108 0.0153)
OKLCHoklch(27.76% 0.019 125.3)
XYZxyz(1.8880, 2.1723, 1.6860)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A20 #24202A
analogous
#2A2920 #262A20 #212A20
triadic
#262A20 #20262A #2A2026
tetradic
#262A20 #202A29 #24202A #2A2021
square
#262A20 #202A29 #24202A #2A2021
split-complementary
#262A20 #20212A #29202A
monochromatic
#10110D #10110D #262A20 #454D3A #656F55

Accessibility & contrast

On white

14.64
#262A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#262A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A20
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A20#FFFFFF#000000##FFFFFF
##262A201.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B291F
Deuteranopia (green-blind)
#2B2820
Tritanopia (blue-blind)
#272927
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262a20;
/* rgb */ color: rgb(38, 42, 32);
/* oklch */ color: oklch(27.8% 0.019 125.3);
Tailwind
colors: {
  custom: {
    50: '#60635b',
    500: '#262a20',
    950: '#000000',
  },
}
SCSS
$custom: #262a20;
$custom-light: #60635b;
$custom-dark: #000000;
JSON
{
  "hex": "#262a20",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 84,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27755,
    "c": 0.01871,
    "h": 125.3
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#262A20
secondary
#514B5B
accent
#71B68D
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#040504
muted
#797979

Preview Lab

Preview with #262A20

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

Preview Lab → · Contrast checker → · Palette generator →

#262A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva