#262C0C#262C0C

#262C0C is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.9% C 0.051 H 118.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#262C0C
RGBrgb(38, 44, 12)
HSLhsl(71, 57%, 11%)
HSVhsv(71, 73%, 17%)
CMYKcmyk(13.6%, 0%, 72.7%, 82.7%)
CIE-LABlab(16.70, -8.51, 18.96)
CIE-LCHlch(16.70, 20.78, 114.16°)
OKLaboklab(27.9% -0.0246 0.0449)
OKLCHoklch(27.9% 0.051 118.8)
XYZxyz(1.7664, 2.2400, 0.6871)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C0C #120C2C
analogous
#2C220C #262C0C #162C0C
triadic
#262C0C #0C262C #2C0C26
tetradic
#262C0C #0C2C22 #120C2C #2C0C16
square
#262C0C #0C2C22 #120C2C #2C0C16
split-complementary
#262C0C #0C162C #220C2C
monochromatic
#151807 #151807 #262C0C #505C19 #798C26

Accessibility & contrast

On white

14.50
#262C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C0C
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C0C#FFFFFF#000000##FFFFFF
##262C0C1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2909
Deuteranopia (green-blind)
#2F290E
Tritanopia (blue-blind)
#292925
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262c0c;
/* rgb */ color: rgb(38, 44, 12);
/* oklch */ color: oklch(27.9% 0.051 118.8);
Tailwind
colors: {
  custom: {
    50: '#61654c',
    500: '#262c0c',
    950: '#000000',
  },
}
SCSS
$custom: #262c0c;
$custom-light: #61654c;
$custom-dark: #000000;
JSON
{
  "hex": "#262c0c",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 71.25,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.05119,
    "h": 118.8
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#262C0C
secondary
#372C67
accent
#47E064
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #262C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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