#262D0B#262D0B

#262D0B is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.2% C 0.054 H 119.9°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#262D0B
RGBrgb(38, 45, 11)
HSLhsl(72, 61%, 11%)
HSVhsv(72, 76%, 18%)
CMYKcmyk(15.6%, 0%, 75.6%, 82.4%)
CIE-LABlab(17.05, -9.23, 19.84)
CIE-LCHlch(17.05, 21.88, 114.96°)
OKLaboklab(28.18% -0.0268 0.0467)
OKLCHoklch(28.18% 0.054 119.9)
XYZxyz(1.7981, 2.3130, 0.6683)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D0B #120B2D
analogous
#2D230B #262D0B #152D0B
triadic
#262D0B #0B262D #2D0B26
tetradic
#262D0B #0B2D23 #120B2D #2D0B15
square
#262D0B #0B2D23 #120B2D #2D0B15
split-complementary
#262D0B #0B152D #230B2D
monochromatic
#151906 #151906 #262D0B #505E17 #798F23

Accessibility & contrast

On white

14.36
#262D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#262D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D0B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D0B#FFFFFF#000000##FFFFFF
##262D0B1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#2F2A0D
Tritanopia (blue-blind)
#292A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262d0b;
/* rgb */ color: rgb(38, 45, 11);
/* oklch */ color: oklch(28.2% 0.054 119.9);
Tailwind
colors: {
  custom: {
    50: '#61654c',
    500: '#262d0b',
    950: '#000000',
  },
}
SCSS
$custom: #262d0b;
$custom-light: #61654c;
$custom-dark: #000000;
JSON
{
  "hex": "#262d0b",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 72.353,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28175,
    "c": 0.05386,
    "h": 119.9
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#262D0B
secondary
#372A69
accent
#44E465
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #262D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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