#26420C#26420C

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

Color values

HEX#26420C
RGBrgb(38, 66, 12)
HSLhsl(91, 69%, 15%)
HSVhsv(91, 82%, 26%)
CMYKcmyk(42.4%, 0%, 81.8%, 74.1%)
CIE-LABlab(24.75, -20.97, 27.87)
CIE-LCHlch(24.75, 34.88, 126.95°)
OKLaboklab(34.42% -0.0589 0.0627)
OKLCHoklch(34.42% 0.086 133.2)
XYZxyz(2.8139, 4.3349, 1.0362)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26420C #280C42
analogous
#41420C #26420C #0C420D
triadic
#26420C #0C2642 #420C26
tetradic
#26420C #0C4142 #280C42 #420D0C
square
#26420C #0C4142 #280C42 #420D0C
split-complementary
#26420C #0D0C42 #420C41
monochromatic
#0F1A05 #0F1A05 #26420C #447615 #62AA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26420C#FFFFFF#000000##FFFFFF
##26420C1.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)
#453C04
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#263F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26420c;
/* rgb */ color: rgb(38, 66, 12);
/* oklch */ color: oklch(34.4% 0.086 133.2);
Tailwind
colors: {
  custom: {
    50: '#63764f',
    500: '#26420c',
    950: '#000000',
  },
}
SCSS
$custom: #26420c;
$custom-light: #63764f;
$custom-dark: #000000;
JSON
{
  "hex": "#26420c",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 91.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34424,
    "c": 0.086,
    "h": 133.2
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#26420C
secondary
#562C7E
accent
#3CEC97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #26420C

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

Preview Lab → · Contrast checker → · Palette generator →

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