#242D07#242D07

#242D07 is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.059 H 121.8°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#242D07
RGBrgb(36, 45, 7)
HSLhsl(74, 73%, 10%)
HSVhsv(74, 84%, 18%)
CMYKcmyk(20%, 0%, 84.4%, 82.4%)
CIE-LABlab(16.83, -10.64, 21.17)
CIE-LCHlch(16.83, 23.70, 116.69°)
OKLaboklab(27.94% -0.0311 0.0501)
OKLCHoklch(27.94% 0.059 121.8)
XYZxyz(1.7043, 2.2672, 0.5488)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D07 #10072D
analogous
#2D2307 #242D07 #112D07
triadic
#242D07 #07242D #2D0724
tetradic
#242D07 #072D23 #10072D #2D0711
square
#242D07 #072D23 #10072D #2D0711
split-complementary
#242D07 #07112D #23072D
monochromatic
#151A04 #151A04 #242D07 #4E620F #799717

Accessibility & contrast

On white

14.45
#242D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242D07
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D07#FFFFFF#000000##FFFFFF
##242D071.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#2F2A0A
Tritanopia (blue-blind)
#262A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242d07;
/* rgb */ color: rgb(36, 45, 7);
/* oklch */ color: oklch(27.9% 0.059 121.8);
Tailwind
colors: {
  custom: {
    50: '#60654a',
    500: '#242d07',
    950: '#000000',
  },
}
SCSS
$custom: #242d07;
$custom-light: #60654a;
$custom-dark: #000000;
JSON
{
  "hex": "#242d07",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 74.211,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27939,
    "c": 0.05895,
    "h": 121.8
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#242D07
secondary
#35236D
accent
#38F064
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #242D07

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

Preview Lab → · Contrast checker → · Palette generator →

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