#262A1A#262A1A

#262A1A is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.6% C 0.028 H 119.7°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#262A1A
RGBrgb(38, 42, 26)
HSLhsl(75, 24%, 13%)
HSVhsv(75, 38%, 16%)
CMYKcmyk(9.5%, 0%, 38.1%, 83.5%)
CIE-LABlab(16.22, -5.26, 9.90)
CIE-LCHlch(16.22, 11.21, 118.00°)
OKLaboklab(27.59% -0.0141 0.0247)
OKLCHoklch(27.59% 0.028 119.7)
XYZxyz(1.8137, 2.1426, 1.2951)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A1A #1E1A2A
analogous
#2A261A #262A1A #1E2A1A
triadic
#262A1A #1A262A #2A1A26
tetradic
#262A1A #1A2A26 #1E1A2A #2A1A1E
square
#262A1A #1A2A26 #1E1A2A #2A1A1E
split-complementary
#262A1A #1A1E2A #261A2A
monochromatic
#11130C #11130C #262A1A #485031 #6A7649

Accessibility & contrast

On white

14.70
#262A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A1A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A1A#FFFFFF#000000##FFFFFF
##262A1A1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262a1a;
/* rgb */ color: rgb(38, 42, 26);
/* oklch */ color: oklch(27.6% 0.028 119.7);
Tailwind
colors: {
  custom: {
    50: '#606356',
    500: '#262a1a',
    950: '#000000',
  },
}
SCSS
$custom: #262a1a;
$custom-light: #606356;
$custom-dark: #000000;
JSON
{
  "hex": "#262a1a",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 75,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.27588,
    "c": 0.02848,
    "h": 119.7
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#262A1A
secondary
#49435D
accent
#68C07E
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#050503
muted
#797978

Preview Lab

Preview with #262A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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