#26311F#26311F

#26311F is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.035 H 133.7°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#26311F
RGBrgb(38, 49, 31)
HSLhsl(97, 23%, 16%)
HSVhsv(97, 37%, 19%)
CMYKcmyk(22.4%, 0%, 36.7%, 80.8%)
CIE-LABlab(18.83, -8.85, 10.01)
CIE-LCHlch(18.83, 13.36, 131.46°)
OKLaboklab(29.72% -0.024 0.0252)
OKLCHoklch(29.72% 0.035 133.7)
XYZxyz(2.1449, 2.7076, 1.7057)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26311F #2A1F31
analogous
#2F311F #26311F #1F3121
triadic
#26311F #1F2631 #311F26
tetradic
#26311F #1F2F31 #2A1F31 #31211F
square
#26311F #1F2F31 #2A1F31 #31211F
split-complementary
#26311F #211F31 #311F2F
monochromatic
#0F130C #0F130C #26311F #435637 #607C4E

Accessibility & contrast

On white

13.62
#26311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#26311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26311F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26311F#FFFFFF#000000##FFFFFF
##26311F1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1E
Deuteranopia (green-blind)
#312D20
Tritanopia (blue-blind)
#26302C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #26311f;
/* rgb */ color: rgb(38, 49, 31);
/* oklch */ color: oklch(29.7% 0.035 133.7);
Tailwind
colors: {
  custom: {
    50: '#60695a',
    500: '#26311f',
    950: '#000000',
  },
}
SCSS
$custom: #26311f;
$custom-light: #60695a;
$custom-dark: #000000;
JSON
{
  "hex": "#26311f",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 96.667,
    "s": 22.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29715,
    "c": 0.03478,
    "h": 133.7
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#26311F
secondary
#594863
accent
#69BF9D
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #26311F

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

Preview Lab → · Contrast checker → · Palette generator →

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