#242F02#242F02

#242F02 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.067 H 122.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#242F02
RGBrgb(36, 47, 2)
HSLhsl(75, 92%, 10%)
HSVhsv(75, 96%, 18%)
CMYKcmyk(23.4%, 0%, 95.7%, 81.6%)
CIE-LABlab(17.52, -12.32, 24.04)
CIE-LCHlch(17.52, 27.02, 117.13°)
OKLaboklab(28.48% -0.0365 0.0565)
OKLCHoklch(28.48% 0.067 122.8)
XYZxyz(1.7551, 2.4125, 0.4306)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F02 #0D022F
analogous
#2F2402 #242F02 #0D2F02
triadic
#242F02 #02242F #2F0224
tetradic
#242F02 #022F24 #0D022F #2F020D
square
#242F02 #022F24 #0D022F #2F020D
split-complementary
#242F02 #020D2F #24022F
monochromatic
#161D01 #161D01 #242F02 #516A04 #7EA407

Accessibility & contrast

On white

14.17
#242F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242F02
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F02#FFFFFF#000000##FFFFFF
##242F021.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B05
Tritanopia (blue-blind)
#272C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242f02;
/* rgb */ color: rgb(36, 47, 2);
/* oklch */ color: oklch(28.5% 0.067 122.8);
Tailwind
colors: {
  custom: {
    50: '#606748',
    500: '#242f02',
    950: '#000000',
  },
}
SCSS
$custom: #242f02;
$custom-light: #606748;
$custom-dark: #000000;
JSON
{
  "hex": "#242f02",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 74.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28478,
    "c": 0.06724,
    "h": 122.8
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#242F02
secondary
#2F1974
accent
#29FF5D
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #242F02

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

Preview Lab → · Contrast checker → · Palette generator →

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