#26420D#26420D

#26420D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.085 H 133.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#26420D
RGBrgb(38, 66, 13)
HSLhsl(92, 67%, 15%)
HSVhsv(92, 80%, 26%)
CMYKcmyk(42.4%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.76, -20.89, 27.44)
CIE-LCHlch(24.76, 34.48, 127.27°)
OKLaboklab(34.43% -0.0586 0.0619)
OKLCHoklch(34.43% 0.085 133.4)
XYZxyz(2.8201, 4.3374, 1.0693)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26420D #290D42
analogous
#40420D #26420D #0D420E
triadic
#26420D #0D2642 #420D26
tetradic
#26420D #0D4042 #290D42 #420E0D
square
#26420D #0D4042 #290D42 #420E0D
split-complementary
#26420D #0E0D42 #420D40
monochromatic
#0F1A05 #0F1A05 #26420D #437517 #61A821

Accessibility & contrast

On white

11.24
#26420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#26420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26420D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26420D#FFFFFF#000000##FFFFFF
##26420D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#263F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26420d;
/* rgb */ color: rgb(38, 66, 13);
/* oklch */ color: oklch(34.4% 0.085 133.4);
Tailwind
colors: {
  custom: {
    50: '#63764f',
    500: '#26420d',
    950: '#000000',
  },
}
SCSS
$custom: #26420d;
$custom-light: #63764f;
$custom-dark: #000000;
JSON
{
  "hex": "#26420d",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 91.698,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34433,
    "c": 0.08526,
    "h": 133.4
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#26420D
secondary
#582D7E
accent
#3EEA99
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #26420D

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

Preview Lab → · Contrast checker → · Palette generator →

#26420D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva