#262C1E#262C1E

#262C1E is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.3% C 0.026 H 126.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#262C1E
RGBrgb(38, 44, 30)
HSLhsl(86, 19%, 15%)
HSVhsv(86, 32%, 17%)
CMYKcmyk(13.6%, 0%, 31.8%, 82.7%)
CIE-LABlab(17.02, -5.83, 8.24)
CIE-LCHlch(17.02, 10.10, 125.28°)
OKLaboklab(28.26% -0.0156 0.0209)
OKLCHoklch(28.26% 0.026 126.9)
XYZxyz(1.9343, 2.3072, 1.5715)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C1E #241E2C
analogous
#2C2B1E #262C1E #1F2C1E
triadic
#262C1E #1E262C #2C1E26
tetradic
#262C1E #1E2C2B #241E2C #2C1E1F
square
#262C1E #1E2C2B #241E2C #2C1E1F
split-complementary
#262C1E #1E1F2C #2B1E2C
monochromatic
#10120C #10120C #262C1E #455037 #657550

Accessibility & contrast

On white

14.37
#262C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C1E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C1E#FFFFFF#000000##FFFFFF
##262C1E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1D
Deuteranopia (green-blind)
#2D2A1F
Tritanopia (blue-blind)
#272B28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262c1e;
/* rgb */ color: rgb(38, 44, 30);
/* oklch */ color: oklch(28.3% 0.026 126.9);
Tailwind
colors: {
  custom: {
    50: '#606559',
    500: '#262c1e',
    950: '#000000',
  },
}
SCSS
$custom: #262c1e;
$custom-light: #606559;
$custom-dark: #000000;
JSON
{
  "hex": "#262c1e",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 30
  },
  "hsl": {
    "h": 85.714,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2826,
    "c": 0.02607,
    "h": 126.9
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#262C1E
secondary
#51485E
accent
#6CBC8E
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050503
muted
#797A78

Preview Lab

Preview with #262C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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