#26331F#26331F

#26331F is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.039 H 135.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#26331F
RGBrgb(38, 51, 31)
HSLhsl(99, 24%, 16%)
HSVhsv(99, 39%, 20%)
CMYKcmyk(25.5%, 0%, 39.2%, 80%)
CIE-LABlab(19.55, -10.09, 10.97)
CIE-LCHlch(19.55, 14.91, 132.59°)
OKLaboklab(30.29% -0.0275 0.0274)
OKLCHoklch(30.29% 0.039 135)
XYZxyz(2.2304, 2.8786, 1.7342)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26331F #2C1F33
analogous
#30331F #26331F #1F3322
triadic
#26331F #1F2633 #331F26
tetradic
#26331F #1F3033 #2C1F33 #33221F
square
#26331F #1F3033 #2C1F33 #33221F
split-complementary
#26331F #221F33 #331F30
monochromatic
#0E130C #0E130C #26331F #425936 #5F7F4D

Accessibility & contrast

On white

13.33
#26331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#26331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26331F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26331F#FFFFFF#000000##FFFFFF
##26331F1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#322F20
Tritanopia (blue-blind)
#26322E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26331f;
/* rgb */ color: rgb(38, 51, 31);
/* oklch */ color: oklch(30.3% 0.039 135.0);
Tailwind
colors: {
  custom: {
    50: '#606a5a',
    500: '#26331f',
    950: '#000000',
  },
}
SCSS
$custom: #26331f;
$custom-light: #606a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#26331f",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 99,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30292,
    "c": 0.03883,
    "h": 135
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#26331F
secondary
#5B4866
accent
#67C1A1
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #26331F

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

Preview Lab → · Contrast checker → · Palette generator →

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