#242E22#242E22

#242E22 is a dark, muted green. Relative luminance 0.024; OKLCH L 28.8% C 0.026 H 140.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#242E22
RGBrgb(36, 46, 34)
HSLhsl(110, 15%, 16%)
HSVhsv(110, 26%, 18%)
CMYKcmyk(21.7%, 0%, 26.1%, 82%)
CIE-LABlab(17.67, -7.23, 6.35)
CIE-LCHlch(17.67, 9.62, 138.69°)
OKLaboklab(28.76% -0.0197 0.0163)
OKLCHoklch(28.76% 0.026 140.4)
XYZxyz(1.9932, 2.4445, 1.8799)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E22 #2C222E
analogous
#2A2E22 #242E22 #222E26
triadic
#242E22 #22242E #2E2224
tetradic
#242E22 #222A2E #2C222E #2E2622
square
#242E22 #222A2E #2C222E #2E2622
split-complementary
#242E22 #26222E #2E222A
monochromatic
#0E120D #0E120D #242E22 #40513C #5B7456

Accessibility & contrast

On white

14.10
#242E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#242E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E22
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E22#FFFFFF#000000##FFFFFF
##242E221.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C21
Deuteranopia (green-blind)
#2D2B23
Tritanopia (blue-blind)
#232D2B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242e22;
/* rgb */ color: rgb(36, 46, 34);
/* oklch */ color: oklch(28.8% 0.026 140.4);
Tailwind
colors: {
  custom: {
    50: '#5e665d',
    500: '#242e22',
    950: '#000000',
  },
}
SCSS
$custom: #242e22;
$custom-light: #5e665d;
$custom-dark: #000000;
JSON
{
  "hex": "#242e22",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 110,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28763,
    "c": 0.02551,
    "h": 140.4
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#242E22
secondary
#5C4D5F
accent
#70B8AC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040604
muted
#797A79

Preview Lab

Preview with #242E22

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

Preview Lab → · Contrast checker → · Palette generator →

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