#242E18#242E18

#242E18 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.040 H 128.6°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#242E18
RGBrgb(36, 46, 24)
HSLhsl(87, 31%, 14%)
HSVhsv(87, 48%, 18%)
CMYKcmyk(21.7%, 0%, 47.8%, 82%)
CIE-LABlab(17.44, -9.16, 12.80)
CIE-LCHlch(17.44, 15.74, 125.58°)
OKLaboklab(28.5% -0.0251 0.0315)
OKLCHoklch(28.5% 0.04 128.6)
XYZxyz(1.8694, 2.3950, 1.2278)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E18 #22182E
analogous
#2E2D18 #242E18 #192E18
triadic
#242E18 #18242E #2E1824
tetradic
#242E18 #182E2D #22182E #2E1819
square
#242E18 #182E2D #22182E #2E1819
split-complementary
#242E18 #18192E #2D182E
monochromatic
#10140A #10140A #242E18 #43562D #637E42

Accessibility & contrast

On white

14.20
#242E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#242E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E18
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E18#FFFFFF#000000##FFFFFF
##242E181.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B16
Deuteranopia (green-blind)
#2F2B19
Tritanopia (blue-blind)
#252C29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242e18;
/* rgb */ color: rgb(36, 46, 24);
/* oklch */ color: oklch(28.5% 0.040 128.6);
Tailwind
colors: {
  custom: {
    50: '#5f6655',
    500: '#242e18',
    950: '#000000',
  },
}
SCSS
$custom: #242e18;
$custom-light: #5f6655;
$custom-dark: #000000;
JSON
{
  "hex": "#242e18",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 87.273,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28504,
    "c": 0.04025,
    "h": 128.6
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#242E18
secondary
#4F3F63
accent
#60C88F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040603
muted
#797A78

Preview Lab

Preview with #242E18

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

Preview Lab → · Contrast checker → · Palette generator →

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