#242A07#242A07

#242A07 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 27.1% C 0.054 H 118.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#242A07
RGBrgb(36, 42, 7)
HSLhsl(70, 71%, 10%)
HSVhsv(70, 83%, 16%)
CMYKcmyk(14.3%, 0%, 83.3%, 83.5%)
CIE-LABlab(15.73, -8.78, 19.79)
CIE-LCHlch(15.73, 21.65, 113.92°)
OKLaboklab(27.05% -0.0259 0.0477)
OKLCHoklch(27.05% 0.054 118.5)
XYZxyz(1.5939, 2.0463, 0.5120)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A07 #0D072A
analogous
#2A1F07 #242A07 #132A07
triadic
#242A07 #07242A #2A0724
tetradic
#242A07 #072A1F #0D072A #2A0713
square
#242A07 #072A1F #0D072A #2A0713
split-complementary
#242A07 #07132A #1F072A
monochromatic
#161A04 #161A04 #242A07 #515E10 #7E9318

Accessibility & contrast

On white

14.90
#242A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#242A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A07
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A07#FFFFFF#000000##FFFFFF
##242A071.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2D2709
Tritanopia (blue-blind)
#272723
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #242a07;
/* rgb */ color: rgb(36, 42, 7);
/* oklch */ color: oklch(27.1% 0.054 118.5);
Tailwind
colors: {
  custom: {
    50: '#5f634a',
    500: '#242a07',
    950: '#000000',
  },
}
SCSS
$custom: #242a07;
$custom-light: #5f634a;
$custom-dark: #000000;
JSON
{
  "hex": "#242a07",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 70.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27051,
    "c": 0.05432,
    "h": 118.5
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#242A07
secondary
#2F236A
accent
#3AEE59
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #242A07

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

Preview Lab → · Contrast checker → · Palette generator →

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