#26420F#26420F

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

Color values

HEX#26420F
RGBrgb(38, 66, 15)
HSLhsl(93, 63%, 16%)
HSVhsv(93, 77%, 26%)
CMYKcmyk(42.4%, 0%, 77.3%, 74.1%)
CIE-LABlab(24.77, -20.71, 26.54)
CIE-LCHlch(24.77, 33.66, 127.97°)
OKLaboklab(34.45% -0.0579 0.0604)
OKLCHoklch(34.45% 0.084 133.8)
XYZxyz(2.8337, 4.3429, 1.1408)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26420F #2B0F42
analogous
#3F420F #26420F #0F4211
triadic
#26420F #0F2642 #420F26
tetradic
#26420F #0F3F42 #2B0F42 #42110F
square
#26420F #0F3F42 #2B0F42 #42110F
split-complementary
#26420F #110F42 #420F3F
monochromatic
#0E1906 #0E1906 #26420F #43741A #5FA626

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #26420f;
/* rgb */ color: rgb(38, 66, 15);
/* oklch */ color: oklch(34.5% 0.084 133.8);
Tailwind
colors: {
  custom: {
    50: '#637650',
    500: '#26420f',
    950: '#000000',
  },
}
SCSS
$custom: #26420f;
$custom-light: #637650;
$custom-dark: #000000;
JSON
{
  "hex": "#26420f",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 92.941,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34452,
    "c": 0.08368,
    "h": 133.8
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#26420F
secondary
#5A307C
accent
#42E69C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #26420F

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

Preview Lab → · Contrast checker → · Palette generator →

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