#242E12#242E12

#242E12 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.048 H 125.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#242E12
RGBrgb(36, 46, 18)
HSLhsl(81, 44%, 13%)
HSVhsv(81, 61%, 18%)
CMYKcmyk(21.7%, 0%, 60.9%, 82%)
CIE-LABlab(17.33, -10.06, 16.52)
CIE-LCHlch(17.33, 19.34, 121.36°)
OKLaboklab(28.39% -0.0282 0.0394)
OKLCHoklch(28.39% 0.048 125.6)
XYZxyz(1.8137, 2.3727, 0.9346)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E12 #1C122E
analogous
#2E2A12 #242E12 #162E12
triadic
#242E12 #12242E #2E1224
tetradic
#242E12 #122E2A #1C122E #2E1216
square
#242E12 #122E2A #1C122E #2E1216
split-complementary
#242E12 #12162E #2A122E
monochromatic
#111609 #111609 #242E12 #465A23 #698634

Accessibility & contrast

On white

14.24
#242E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#242E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E12
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E12#FFFFFF#000000##FFFFFF
##242E121.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B10
Deuteranopia (green-blind)
#2F2A14
Tritanopia (blue-blind)
#262C28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242e12;
/* rgb */ color: rgb(36, 46, 18);
/* oklch */ color: oklch(28.4% 0.048 125.6);
Tailwind
colors: {
  custom: {
    50: '#5f6650',
    500: '#242e12',
    950: '#000000',
  },
}
SCSS
$custom: #242e12;
$custom-light: #5f6650;
$custom-dark: #000000;
JSON
{
  "hex": "#242e12",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 81.429,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28387,
    "c": 0.04841,
    "h": 125.6
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#242E12
secondary
#473666
accent
#54D382
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #242E12

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

Preview Lab → · Contrast checker → · Palette generator →

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