#242E07#242E07

#242E07 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.2% C 0.060 H 122.8°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#242E07
RGBrgb(36, 46, 7)
HSLhsl(75, 74%, 10%)
HSVhsv(75, 85%, 18%)
CMYKcmyk(21.7%, 0%, 84.8%, 82%)
CIE-LABlab(17.20, -11.25, 21.62)
CIE-LCHlch(17.20, 24.37, 117.49°)
OKLaboklab(28.24% -0.0328 0.0509)
OKLCHoklch(28.24% 0.06 122.8)
XYZxyz(1.7429, 2.3444, 0.5617)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E07 #11072E
analogous
#2E2407 #242E07 #102E07
triadic
#242E07 #07242E #2E0724
tetradic
#242E07 #072E24 #11072E #2E0710
square
#242E07 #072E24 #11072E #2E0710
split-complementary
#242E07 #07102E #24072E
monochromatic
#151B04 #151B04 #242E07 #4E630F #779817

Accessibility & contrast

On white

14.30
#242E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#242E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E07
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E07#FFFFFF#000000##FFFFFF
##242E071.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B03
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#262B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242e07;
/* rgb */ color: rgb(36, 46, 7);
/* oklch */ color: oklch(28.2% 0.060 122.8);
Tailwind
colors: {
  custom: {
    50: '#60664a',
    500: '#242e07',
    950: '#000000',
  },
}
SCSS
$custom: #242e07;
$custom-light: #60664a;
$custom-dark: #000000;
JSON
{
  "hex": "#242e07",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 75.385,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28237,
    "c": 0.06049,
    "h": 122.8
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#242E07
secondary
#36236E
accent
#38F067
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #242E07

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

Preview Lab → · Contrast checker → · Palette generator →

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