#242A22#242A22

#242A22 is a dark, near-neutral green. Relative luminance 0.021; OKLCH L 27.6% C 0.017 H 137.9°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#242A22
RGBrgb(36, 42, 34)
HSLhsl(105, 11%, 15%)
HSVhsv(105, 19%, 16%)
CMYKcmyk(14.3%, 0%, 19%, 83.5%)
CIE-LABlab(16.24, -4.60, 4.35)
CIE-LCHlch(16.24, 6.33, 136.60°)
OKLaboklab(27.62% -0.0124 0.0112)
OKLCHoklch(27.62% 0.017 137.9)
XYZxyz(1.8442, 2.1465, 1.8302)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A22 #28222A
analogous
#282A22 #242A22 #222A24
triadic
#242A22 #22242A #2A2224
tetradic
#242A22 #22282A #28222A #2A2422
square
#242A22 #22282A #28222A #2A2422
split-complementary
#242A22 #24222A #2A2228
monochromatic
#0E110E #0E110E #242A22 #414C3D #5E6E59

Accessibility & contrast

On white

14.69
#242A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#242A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A22
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A22#FFFFFF#000000##FFFFFF
##242A221.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2922
Deuteranopia (green-blind)
#2A2822
Tritanopia (blue-blind)
#242928
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242a22;
/* rgb */ color: rgb(36, 42, 34);
/* oklch */ color: oklch(27.6% 0.017 137.9);
Tailwind
colors: {
  custom: {
    50: '#5e635c',
    500: '#242a22',
    950: '#000000',
  },
}
SCSS
$custom: #242a22;
$custom-light: #5e635c;
$custom-dark: #000000;
JSON
{
  "hex": "#242a22",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 105,
    "s": 10.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27624,
    "c": 0.01676,
    "h": 137.9
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#242A22
secondary
#574E5A
accent
#74B3A4
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#040504
muted
#797979

Preview Lab

Preview with #242A22

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

Preview Lab → · Contrast checker → · Palette generator →

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