#262F28#262F28

#262F28 is a dark, near-neutral green. Relative luminance 0.026; OKLCH L 29.4% C 0.018 H 151.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#262F28
RGBrgb(38, 47, 40)
HSLhsl(133, 11%, 17%)
HSVhsv(133, 19%, 18%)
CMYKcmyk(19.1%, 0%, 14.9%, 81.6%)
CIE-LABlab(18.36, -5.62, 3.22)
CIE-LCHlch(18.36, 6.48, 150.23°)
OKLaboklab(29.41% -0.0156 0.0084)
OKLCHoklch(29.41% 0.018 151.8)
XYZxyz(2.1988, 2.5983, 2.3927)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F28 #2F262D
analogous
#292F26 #262F28 #262F2D
triadic
#262F28 #28262F #2F2826
tetradic
#262F28 #26292F #2F262D #2F2D26
square
#262F28 #26292F #2F262D #2F2D26
split-complementary
#262F28 #2D262F #2F2629
monochromatic
#0E110E #0E110E #262F28 #415145 #5D7362

Accessibility & contrast

On white

13.82
#262F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F28
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F28#FFFFFF#000000##FFFFFF
##262F281.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D28
Deuteranopia (green-blind)
#2D2C28
Tritanopia (blue-blind)
#252F2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #262f28;
/* rgb */ color: rgb(38, 47, 40);
/* oklch */ color: oklch(29.4% 0.018 151.8);
Tailwind
colors: {
  custom: {
    50: '#606761',
    500: '#262f28',
    950: '#000000',
  },
}
SCSS
$custom: #262f28;
$custom-light: #606761;
$custom-dark: #000000;
JSON
{
  "hex": "#262f28",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 133.333,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29413,
    "c": 0.01768,
    "h": 151.8
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#262F28
secondary
#5F525C
accent
#74A5B4
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040605
muted
#797A79

Preview Lab

Preview with #262F28

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

Preview Lab → · Contrast checker → · Palette generator →

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