#242F04#242F04

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

Color values

HEX#242F04
RGBrgb(36, 47, 4)
HSLhsl(75, 84%, 10%)
HSVhsv(75, 91%, 18%)
CMYKcmyk(23.4%, 0%, 91.5%, 81.6%)
CIE-LABlab(17.54, -12.13, 23.25)
CIE-LCHlch(17.54, 26.23, 117.55°)
OKLaboklab(28.5% -0.0356 0.0545)
OKLCHoklch(28.5% 0.065 123.2)
XYZxyz(1.7660, 2.4169, 0.4883)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F04 #0F042F
analogous
#2F2504 #242F04 #0E2F04
triadic
#242F04 #04242F #2F0424
tetradic
#242F04 #042F25 #0F042F #2F040E
square
#242F04 #042F25 #0F042F #2F040E
split-complementary
#242F04 #040E2F #25042F
monochromatic
#161C02 #161C02 #242F04 #4F6709 #7AA00E

Accessibility & contrast

On white

14.16
#242F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242F04
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F04#FFFFFF#000000##FFFFFF
##242F041.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f04;
/* rgb */ color: rgb(36, 47, 4);
/* oklch */ color: oklch(28.5% 0.065 123.2);
Tailwind
colors: {
  custom: {
    50: '#606749',
    500: '#242f04',
    950: '#000000',
  },
}
SCSS
$custom: #242f04;
$custom-light: #606749;
$custom-dark: #000000;
JSON
{
  "hex": "#242f04",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 75.349,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.285,
    "c": 0.06512,
    "h": 123.2
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#242F04
secondary
#331D72
accent
#2DFB62
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #242F04

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

Preview Lab → · Contrast checker → · Palette generator →

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