#262A1E#262A1E

#262A1E is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.7% C 0.022 H 122.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#262A1E
RGBrgb(38, 42, 30)
HSLhsl(80, 17%, 14%)
HSVhsv(80, 29%, 16%)
CMYKcmyk(9.5%, 0%, 28.6%, 83.5%)
CIE-LABlab(16.31, -4.51, 7.27)
CIE-LCHlch(16.31, 8.55, 121.79°)
OKLaboklab(27.7% -0.0119 0.0185)
OKLCHoklch(27.7% 0.022 122.8)
XYZxyz(1.8616, 2.1617, 1.5472)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A1E #221E2A
analogous
#2A281E #262A1E #202A1E
triadic
#262A1E #1E262A #2A1E26
tetradic
#262A1E #1E2A28 #221E2A #2A1E20
square
#262A1E #1E2A28 #221E2A #2A1E20
split-complementary
#262A1E #1E202A #281E2A
monochromatic
#10120D #10120D #262A1E #464E38 #677151

Accessibility & contrast

On white

14.66
#262A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#262A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A1E
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A1E#FFFFFF#000000##FFFFFF
##262A1E1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B291D
Deuteranopia (green-blind)
#2B281F
Tritanopia (blue-blind)
#272927
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262a1e;
/* rgb */ color: rgb(38, 42, 30);
/* oklch */ color: oklch(27.7% 0.022 122.8);
Tailwind
colors: {
  custom: {
    50: '#606359',
    500: '#262a1e',
    950: '#000000',
  },
}
SCSS
$custom: #262a1e;
$custom-light: #606359;
$custom-dark: #000000;
JSON
{
  "hex": "#262a1e",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 16.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27696,
    "c": 0.02201,
    "h": 122.8
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#262A1E
secondary
#4F485B
accent
#6EB987
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#040503
muted
#797978

Preview Lab

Preview with #262A1E

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

Preview Lab → · Contrast checker → · Palette generator →

#262A1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva