#262F22#262F22

#262F22 is a dark, muted green. Relative luminance 0.026; OKLCH L 29.2% C 0.026 H 136.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#262F22
RGBrgb(38, 47, 34)
HSLhsl(102, 16%, 16%)
HSVhsv(102, 28%, 18%)
CMYKcmyk(19.1%, 0%, 27.7%, 81.6%)
CIE-LABlab(18.19, -6.97, 7.11)
CIE-LCHlch(18.19, 9.95, 134.45°)
OKLaboklab(29.23% -0.0189 0.0181)
OKLCHoklch(29.23% 0.026 136.1)
XYZxyz(2.1045, 2.5606, 1.8964)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F22 #2B222F
analogous
#2C2F22 #262F22 #222F24
triadic
#262F22 #22262F #2F2226
tetradic
#262F22 #222C2F #2B222F #2F2422
square
#262F22 #222C2F #2B222F #2F2422
split-complementary
#262F22 #24222F #2F222C
monochromatic
#0E120D #0E120D #262F22 #43533C #5F7655

Accessibility & contrast

On white

13.89
#262F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#262F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F22
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F22#FFFFFF#000000##FFFFFF
##262F221.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D21
Deuteranopia (green-blind)
#2F2C23
Tritanopia (blue-blind)
#262E2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262f22;
/* rgb */ color: rgb(38, 47, 34);
/* oklch */ color: oklch(29.2% 0.026 136.1);
Tailwind
colors: {
  custom: {
    50: '#60675d',
    500: '#262f22',
    950: '#000000',
  },
}
SCSS
$custom: #262f22;
$custom-light: #60675d;
$custom-dark: #000000;
JSON
{
  "hex": "#262f22",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 101.538,
    "s": 16.049,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.02616,
    "h": 136.1
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#262F22
secondary
#5A4D60
accent
#6FB9A2
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #262F22

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

Preview Lab → · Contrast checker → · Palette generator →

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