#262F2A#262F2A

#262F2A is a dark, near-neutral green. Relative luminance 0.026; OKLCH L 29.5% C 0.015 H 161.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#262F2A
RGBrgb(38, 47, 42)
HSLhsl(147, 11%, 17%)
HSVhsv(147, 19%, 18%)
CMYKcmyk(19.1%, 0%, 10.6%, 81.6%)
CIE-LABlab(18.42, -5.14, 1.92)
CIE-LCHlch(18.42, 5.49, 159.48°)
OKLaboklab(29.48% -0.0145 0.005)
OKLCHoklch(29.48% 0.015 161)
XYZxyz(2.2337, 2.6122, 2.5766)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F2A #2F262B
analogous
#272F26 #262F2A #262F2F
triadic
#262F2A #2A262F #2F2A26
tetradic
#262F2A #26272F #2F262B #2F2F26
square
#262F2A #26272F #2F262B #2F2F26
split-complementary
#262F2A #2F262F #2F2627
monochromatic
#0E110F #0E110F #262F2A #415148 #5D7366

Accessibility & contrast

On white

13.79
#262F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#262F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F2A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F2A#FFFFFF#000000##FFFFFF
##262F2A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2A
Deuteranopia (green-blind)
#2D2C2A
Tritanopia (blue-blind)
#242F2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #262f2a;
/* rgb */ color: rgb(38, 47, 42);
/* oklch */ color: oklch(29.5% 0.015 161.0);
Tailwind
colors: {
  custom: {
    50: '#606763',
    500: '#262f2a',
    950: '#000000',
  },
}
SCSS
$custom: #262f2a;
$custom-light: #606763;
$custom-dark: #000000;
JSON
{
  "hex": "#262f2a",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 146.667,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29482,
    "c": 0.01534,
    "h": 161
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#262F2A
secondary
#5F5259
accent
#7497B4
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#040605
muted
#797A79

Preview Lab

Preview with #262F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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