#242B07#242B07

#242B07 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.056 H 119.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#242B07
RGBrgb(36, 43, 7)
HSLhsl(72, 72%, 10%)
HSVhsv(72, 84%, 17%)
CMYKcmyk(16.3%, 0%, 83.7%, 83.1%)
CIE-LABlab(16.10, -9.41, 20.26)
CIE-LCHlch(16.10, 22.33, 114.92°)
OKLaboklab(27.35% -0.0277 0.0485)
OKLCHoklch(27.35% 0.056 119.7)
XYZxyz(1.6298, 2.1182, 0.5240)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B07 #0E072B
analogous
#2B2007 #242B07 #122B07
triadic
#242B07 #07242B #2B0724
tetradic
#242B07 #072B20 #0E072B #2B0712
square
#242B07 #072B20 #0E072B #2B0712
split-complementary
#242B07 #07122B #20072B
monochromatic
#161A04 #161A04 #242B07 #506010 #7C9418

Accessibility & contrast

On white

14.75
#242B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#242B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B07
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B07#FFFFFF#000000##FFFFFF
##242B071.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2E280A
Tritanopia (blue-blind)
#272824
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242b07;
/* rgb */ color: rgb(36, 43, 7);
/* oklch */ color: oklch(27.3% 0.056 119.7);
Tailwind
colors: {
  custom: {
    50: '#60644a',
    500: '#242b07',
    950: '#000000',
  },
}
SCSS
$custom: #242b07;
$custom-light: #60644a;
$custom-dark: #000000;
JSON
{
  "hex": "#242b07",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 71.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27346,
    "c": 0.05586,
    "h": 119.7
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#242B07
secondary
#31236B
accent
#39EF5C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #242B07

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

Preview Lab → · Contrast checker → · Palette generator →

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