#242E28#242E28

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

Color values

HEX#242E28
RGBrgb(36, 46, 40)
HSLhsl(144, 12%, 16%)
HSVhsv(144, 22%, 18%)
CMYKcmyk(21.7%, 0%, 13%, 82%)
CIE-LABlab(17.84, -5.83, 2.45)
CIE-LCHlch(17.84, 6.32, 157.20°)
OKLaboklab(28.96% -0.0164 0.0064)
OKLCHoklch(28.96% 0.018 158.8)
XYZxyz(2.0875, 2.4822, 2.3762)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E28 #2E242A
analogous
#252E24 #242E28 #242E2D
triadic
#242E28 #28242E #2E2824
tetradic
#242E28 #24252E #2E242A #2E2D24
square
#242E28 #24252E #2E242A #2E2D24
split-complementary
#242E28 #2D242E #2E2425
monochromatic
#0D110F #0D110F #242E28 #3F5046 #5A7364

Accessibility & contrast

On white

14.03
#242E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#242E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E28
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E28#FFFFFF#000000##FFFFFF
##242E281.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2C28
Deuteranopia (green-blind)
#2C2B28
Tritanopia (blue-blind)
#222E2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #242e28;
/* rgb */ color: rgb(36, 46, 40);
/* oklch */ color: oklch(29.0% 0.018 158.8);
Tailwind
colors: {
  custom: {
    50: '#5e6661',
    500: '#242e28',
    950: '#000000',
  },
}
SCSS
$custom: #242e28;
$custom-light: #5e6661;
$custom-dark: #000000;
JSON
{
  "hex": "#242e28",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 144,
    "s": 12.195,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28957,
    "c": 0.01755,
    "h": 158.8
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#242E28
secondary
#5E4F58
accent
#739BB5
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040605
muted
#797A79

Preview Lab

Preview with #242E28

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

Preview Lab → · Contrast checker → · Palette generator →

#242E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva