#262A1C#262A1C

#262A1C is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.025 H 121.0°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#262A1C
RGBrgb(38, 42, 28)
HSLhsl(77, 20%, 14%)
HSVhsv(77, 33%, 16%)
CMYKcmyk(9.5%, 0%, 33.3%, 83.5%)
CIE-LABlab(16.26, -4.89, 8.59)
CIE-LCHlch(16.26, 9.88, 119.68°)
OKLaboklab(27.64% -0.013 0.0217)
OKLCHoklch(27.64% 0.025 121)
XYZxyz(1.8369, 2.1518, 1.4170)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A1C #201C2A
analogous
#2A271C #262A1C #1F2A1C
triadic
#262A1C #1C262A #2A1C26
tetradic
#262A1C #1C2A27 #201C2A #2A1C1F
square
#262A1C #1C2A27 #201C2A #2A1C1F
split-complementary
#262A1C #1C1F2A #271C2A
monochromatic
#11120C #11120C #262A1C #474F34 #68734D

Accessibility & contrast

On white

14.68
#262A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A1C
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A1C#FFFFFF#000000##FFFFFF
##262A1C1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C281B
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#272926
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262a1c;
/* rgb */ color: rgb(38, 42, 28);
/* oklch */ color: oklch(27.6% 0.025 121.0);
Tailwind
colors: {
  custom: {
    50: '#606358',
    500: '#262a1c',
    950: '#000000',
  },
}
SCSS
$custom: #262a1c;
$custom-light: #606358;
$custom-dark: #000000;
JSON
{
  "hex": "#262a1c",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 77.143,
    "s": 20,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2764,
    "c": 0.02527,
    "h": 121
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#262A1C
secondary
#4C465C
accent
#6BBD82
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#050503
muted
#797978

Preview Lab

Preview with #262A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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