#262D12#262D12

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

Color values

HEX#262D12
RGBrgb(38, 45, 18)
HSLhsl(76, 43%, 12%)
HSVhsv(76, 60%, 18%)
CMYKcmyk(15.6%, 0%, 60%, 82.4%)
CIE-LABlab(17.14, -8.44, 16.33)
CIE-LCHlch(17.14, 18.38, 117.33°)
OKLaboklab(28.28% -0.0237 0.0389)
OKLCHoklch(28.28% 0.046 121.4)
XYZxyz(1.8469, 2.3325, 0.9251)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D12 #19122D
analogous
#2D2712 #262D12 #182D12
triadic
#262D12 #12262D #2D1226
tetradic
#262D12 #122D27 #19122D #2D1218
square
#262D12 #122D27 #19122D #2D1218
split-complementary
#262D12 #12182D #27122D
monochromatic
#121609 #121609 #262D12 #4B5923 #708435

Accessibility & contrast

On white

14.32
#262D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#262D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D12
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D12#FFFFFF#000000##FFFFFF
##262D121.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#2F2A14
Tritanopia (blue-blind)
#282B27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262d12;
/* rgb */ color: rgb(38, 45, 18);
/* oklch */ color: oklch(28.3% 0.046 121.4);
Tailwind
colors: {
  custom: {
    50: '#616550',
    500: '#262d12',
    950: '#000000',
  },
}
SCSS
$custom: #262d12;
$custom-light: #616550;
$custom-dark: #000000;
JSON
{
  "hex": "#262d12",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 75.556,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28279,
    "c": 0.0456,
    "h": 121.4
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#262D12
secondary
#423665
accent
#55D376
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050502
muted
#797A78

Preview Lab

Preview with #262D12

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

Preview Lab → · Contrast checker → · Palette generator →

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