#242F07#242F07

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

Color values

HEX#242F07
RGBrgb(36, 47, 7)
HSLhsl(77, 74%, 11%)
HSVhsv(77, 85%, 18%)
CMYKcmyk(23.4%, 0%, 85.1%, 81.6%)
CIE-LABlab(17.57, -11.85, 22.07)
CIE-LCHlch(17.57, 25.05, 118.24°)
OKLaboklab(28.54% -0.0344 0.0516)
OKLCHoklch(28.54% 0.062 123.7)
XYZxyz(1.7824, 2.4234, 0.5748)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F07 #12072F
analogous
#2F2607 #242F07 #102F07
triadic
#242F07 #07242F #2F0724
tetradic
#242F07 #072F26 #12072F #2F0710
square
#242F07 #072F26 #12072F #2F0710
split-complementary
#242F07 #07102F #26072F
monochromatic
#141B04 #141B04 #242F07 #4D640F #769A17

Accessibility & contrast

On white

14.15
#242F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242F07
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F07#FFFFFF#000000##FFFFFF
##242F071.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f07;
/* rgb */ color: rgb(36, 47, 7);
/* oklch */ color: oklch(28.5% 0.062 123.7);
Tailwind
colors: {
  custom: {
    50: '#60674a',
    500: '#242f07',
    950: '#000000',
  },
}
SCSS
$custom: #242f07;
$custom-light: #60674a;
$custom-dark: #000000;
JSON
{
  "hex": "#242f07",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 76.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28535,
    "c": 0.06206,
    "h": 123.7
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#242F07
secondary
#38236F
accent
#37F16A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #242F07

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

Preview Lab → · Contrast checker → · Palette generator →

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