#252E27#252E27

#252E27 is a dark, near-neutral green. Relative luminance 0.025; OKLCH L 29.0% C 0.018 H 151.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#252E27
RGBrgb(37, 46, 39)
HSLhsl(133, 11%, 16%)
HSVhsv(133, 20%, 18%)
CMYKcmyk(19.6%, 0%, 15.2%, 82%)
CIE-LABlab(17.89, -5.64, 3.23)
CIE-LCHlch(17.89, 6.50, 150.20°)
OKLaboklab(29.01% -0.0156 0.0084)
OKLCHoklch(29.01% 0.018 151.8)
XYZxyz(2.1061, 2.4937, 2.2894)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E27 #2E252C
analogous
#282E25 #252E27 #252E2C
triadic
#252E27 #27252E #2E2725
tetradic
#252E27 #25282E #2E252C #2E2C25
square
#252E27 #25282E #2E252C #2E2C25
split-complementary
#252E27 #2C252E #2E2528
monochromatic
#0E110E #0E110E #252E27 #405044 #5C7261

Accessibility & contrast

On white

14.01
#252E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#252E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E27
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E27#FFFFFF#000000##FFFFFF
##252E271.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2C27
Deuteranopia (green-blind)
#2C2B27
Tritanopia (blue-blind)
#242E2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #252e27;
/* rgb */ color: rgb(37, 46, 39);
/* oklch */ color: oklch(29.0% 0.018 151.8);
Tailwind
colors: {
  custom: {
    50: '#5f6661',
    500: '#252e27',
    950: '#000000',
  },
}
SCSS
$custom: #252e27;
$custom-light: #5f6661;
$custom-dark: #000000;
JSON
{
  "hex": "#252e27",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 133.333,
    "s": 10.843,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.01773,
    "h": 151.8
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#252E27
secondary
#5E515B
accent
#74A6B4
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040605
muted
#797A79

Preview Lab

Preview with #252E27

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

Preview Lab → · Contrast checker → · Palette generator →

#252E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva