#262A12#262A12

#262A12 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.4% C 0.040 H 116.9°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#262A12
RGBrgb(38, 42, 18)
HSLhsl(70, 40%, 12%)
HSVhsv(70, 57%, 16%)
CMYKcmyk(9.5%, 0%, 57.1%, 83.5%)
CIE-LABlab(16.06, -6.51, 14.99)
CIE-LCHlch(16.06, 16.34, 113.49°)
OKLaboklab(27.41% -0.0183 0.036)
OKLCHoklch(27.41% 0.04 116.9)
XYZxyz(1.7365, 2.1117, 0.8883)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A12 #16122A
analogous
#2A2212 #262A12 #1A2A12
triadic
#262A12 #12262A #2A1226
tetradic
#262A12 #122A22 #16122A #2A121A
square
#262A12 #122A22 #16122A #2A121A
split-complementary
#262A12 #121A2A #22122A
monochromatic
#131509 #131509 #262A12 #4D5524 #748037

Accessibility & contrast

On white

14.76
#262A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#262A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A12
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A12#FFFFFF#000000##FFFFFF
##262A121.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2810
Deuteranopia (green-blind)
#2C2813
Tritanopia (blue-blind)
#282824
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262a12;
/* rgb */ color: rgb(38, 42, 18);
/* oklch */ color: oklch(27.4% 0.040 116.9);
Tailwind
colors: {
  custom: {
    50: '#616350',
    500: '#262a12',
    950: '#000000',
  },
}
SCSS
$custom: #262a12;
$custom-light: #616350;
$custom-dark: #000000;
JSON
{
  "hex": "#262a12",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 70,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27413,
    "c": 0.04042,
    "h": 116.9
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#262A12
secondary
#3E3761
accent
#58D06C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050502
muted
#797978

Preview Lab

Preview with #262A12

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

Preview Lab → · Contrast checker → · Palette generator →

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