#26420B#26420B

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

Color values

HEX#26420B
RGBrgb(38, 66, 11)
HSLhsl(91, 71%, 15%)
HSVhsv(91, 83%, 26%)
CMYKcmyk(42.4%, 0%, 83.3%, 74.1%)
CIE-LABlab(24.74, -21.04, 28.29)
CIE-LCHlch(24.74, 35.26, 126.64°)
OKLaboklab(34.42% -0.0592 0.0634)
OKLCHoklch(34.42% 0.087 133.1)
XYZxyz(2.8079, 4.3325, 1.0049)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26420B #270B42
analogous
#42420B #26420B #0B420B
triadic
#26420B #0B2642 #420B26
tetradic
#26420B #0B4242 #270B42 #420B0B
square
#26420B #0B4242 #270B42 #420B0B
split-complementary
#26420B #0B0B42 #420B42
monochromatic
#0F1A04 #0F1A04 #26420B #447614 #62AB1C

Accessibility & contrast

On white

11.25
#26420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26420B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26420B#FFFFFF#000000##FFFFFF
##26420B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C03
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#263F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26420b;
/* rgb */ color: rgb(38, 66, 11);
/* oklch */ color: oklch(34.4% 0.087 133.1);
Tailwind
colors: {
  custom: {
    50: '#63764e',
    500: '#26420b',
    950: '#000000',
  },
}
SCSS
$custom: #26420b;
$custom-light: #63764e;
$custom-dark: #000000;
JSON
{
  "hex": "#26420b",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 90.545,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.08672,
    "h": 133.1
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#26420B
secondary
#552A7F
accent
#3AEE96
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #26420B

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

Preview Lab → · Contrast checker → · Palette generator →

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