#242D04#242D04

#242D04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.062 H 121.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#242D04
RGBrgb(36, 45, 4)
HSLhsl(73, 84%, 10%)
HSVhsv(73, 91%, 18%)
CMYKcmyk(20%, 0%, 91.1%, 82.4%)
CIE-LABlab(16.80, -10.93, 22.35)
CIE-LCHlch(16.80, 24.88, 116.05°)
OKLaboklab(27.9% -0.0323 0.0531)
OKLCHoklch(27.9% 0.062 121.4)
XYZxyz(1.6879, 2.2606, 0.4623)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D04 #0D042D
analogous
#2D2204 #242D04 #102D04
triadic
#242D04 #04242D #2D0424
tetradic
#242D04 #042D22 #0D042D #2D0410
square
#242D04 #042D22 #0D042D #2D0410
split-complementary
#242D04 #04102D #22042D
monochromatic
#161C02 #161C02 #242D04 #516509 #7E9D0E

Accessibility & contrast

On white

14.46
#242D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#242D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D04
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D04#FFFFFF#000000##FFFFFF
##242D041.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A00
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#272A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #242d04;
/* rgb */ color: rgb(36, 45, 4);
/* oklch */ color: oklch(27.9% 0.062 121.4);
Tailwind
colors: {
  custom: {
    50: '#606549',
    500: '#242d04',
    950: '#000000',
  },
}
SCSS
$custom: #242d04;
$custom-light: #606549;
$custom-dark: #000000;
JSON
{
  "hex": "#242d04",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 73.171,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27903,
    "c": 0.06216,
    "h": 121.4
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#242D04
secondary
#2F1D70
accent
#2EFA5B
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#050501
muted
#797A77

Preview Lab

Preview with #242D04

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

Preview Lab → · Contrast checker → · Palette generator →

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