#262E12#262E12

#262E12 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.6% C 0.047 H 122.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#262E12
RGBrgb(38, 46, 18)
HSLhsl(77, 44%, 13%)
HSVhsv(77, 61%, 18%)
CMYKcmyk(17.4%, 0%, 60.9%, 82%)
CIE-LABlab(17.51, -9.07, 16.77)
CIE-LCHlch(17.51, 19.06, 118.40°)
OKLaboklab(28.57% -0.0255 0.0399)
OKLCHoklch(28.57% 0.047 122.6)
XYZxyz(1.8855, 2.4097, 0.9379)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E12 #1A122E
analogous
#2E2812 #262E12 #182E12
triadic
#262E12 #12262E #2E1226
tetradic
#262E12 #122E28 #1A122E #2E1218
square
#262E12 #122E28 #1A122E #2E1218
split-complementary
#262E12 #12182E #28122E
monochromatic
#121609 #121609 #262E12 #4A5A23 #6F8634

Accessibility & contrast

On white

14.17
#262E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#262E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E12
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E12#FFFFFF#000000##FFFFFF
##262E121.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0F
Deuteranopia (green-blind)
#302B14
Tritanopia (blue-blind)
#282C28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262e12;
/* rgb */ color: rgb(38, 46, 18);
/* oklch */ color: oklch(28.6% 0.047 122.6);
Tailwind
colors: {
  custom: {
    50: '#616650',
    500: '#262e12',
    950: '#000000',
  },
}
SCSS
$custom: #262e12;
$custom-light: #616650;
$custom-dark: #000000;
JSON
{
  "hex": "#262e12",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 77.143,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28569,
    "c": 0.04735,
    "h": 122.6
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#262E12
secondary
#443666
accent
#54D379
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #262E12

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

Preview Lab → · Contrast checker → · Palette generator →

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