#262C12#262C12

#262C12 is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.044 H 120.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#262C12
RGBrgb(38, 44, 18)
HSLhsl(74, 42%, 12%)
HSVhsv(74, 59%, 17%)
CMYKcmyk(13.6%, 0%, 59.1%, 82.7%)
CIE-LABlab(16.78, -7.80, 15.88)
CIE-LCHlch(16.78, 17.70, 116.16°)
OKLaboklab(27.99% -0.0219 0.038)
OKLCHoklch(27.99% 0.044 120)
XYZxyz(1.8092, 2.2571, 0.9125)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C12 #18122C
analogous
#2C2512 #262C12 #192C12
triadic
#262C12 #12262C #2C1226
tetradic
#262C12 #122C25 #18122C #2C1219
square
#262C12 #122C25 #18122C #2C1219
split-complementary
#262C12 #12192C #25122C
monochromatic
#131609 #131609 #262C12 #4C5724 #718336

Accessibility & contrast

On white

14.47
#262C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#262C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C12
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C12#FFFFFF#000000##FFFFFF
##262C121.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2910
Deuteranopia (green-blind)
#2E2913
Tritanopia (blue-blind)
#282A26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262c12;
/* rgb */ color: rgb(38, 44, 18);
/* oklch */ color: oklch(28.0% 0.044 120.0);
Tailwind
colors: {
  custom: {
    50: '#616550',
    500: '#262c12',
    950: '#000000',
  },
}
SCSS
$custom: #262c12;
$custom-light: #616550;
$custom-dark: #000000;
JSON
{
  "hex": "#262c12",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 73.846,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27989,
    "c": 0.04386,
    "h": 120
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#262C12
secondary
#413663
accent
#56D273
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050502
muted
#797A78

Preview Lab

Preview with #262C12

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

Preview Lab → · Contrast checker → · Palette generator →

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