#242A16#242A16

#242A16 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.036 H 122.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#242A16
RGBrgb(36, 42, 22)
HSLhsl(78, 31%, 13%)
HSVhsv(78, 48%, 16%)
CMYKcmyk(14.3%, 0%, 47.6%, 83.5%)
CIE-LABlab(15.95, -6.94, 12.21)
CIE-LCHlch(15.95, 14.04, 119.60°)
OKLaboklab(27.3% -0.019 0.03)
OKLCHoklch(27.3% 0.036 122.4)
XYZxyz(1.7003, 2.0889, 1.0725)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A16 #1C162A
analogous
#2A2616 #242A16 #1A2A16
triadic
#242A16 #16242A #2A1624
tetradic
#242A16 #162A26 #1C162A #2A161A
square
#242A16 #162A26 #1C162A #2A161A
split-complementary
#242A16 #161A2A #26162A
monochromatic
#11140B #11140B #242A16 #46522B #697A40

Accessibility & contrast

On white

14.81
#242A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#242A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A16
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A16#FFFFFF#000000##FFFFFF
##242A161.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2815
Deuteranopia (green-blind)
#2B2817
Tritanopia (blue-blind)
#262825
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242a16;
/* rgb */ color: rgb(36, 42, 22);
/* oklch */ color: oklch(27.3% 0.036 122.4);
Tailwind
colors: {
  custom: {
    50: '#5f6353',
    500: '#242a16',
    950: '#000000',
  },
}
SCSS
$custom: #242a16;
$custom-light: #5f6353;
$custom-dark: #000000;
JSON
{
  "hex": "#242a16",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 78,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27297,
    "c": 0.03551,
    "h": 122.4
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#242A16
secondary
#473D5F
accent
#60C77F
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040502
muted
#797978

Preview Lab

Preview with #242A16

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

Preview Lab → · Contrast checker → · Palette generator →

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