#242B04#242B04

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

Color values

HEX#242B04
RGBrgb(36, 43, 4)
HSLhsl(71, 83%, 9%)
HSVhsv(71, 91%, 17%)
CMYKcmyk(16.3%, 0%, 90.7%, 83.1%)
CIE-LABlab(16.06, -9.70, 21.44)
CIE-LCHlch(16.06, 23.53, 114.34°)
OKLaboklab(27.31% -0.029 0.0516)
OKLCHoklch(27.31% 0.059 119.3)
XYZxyz(1.6134, 2.1116, 0.4374)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B04 #0B042B
analogous
#2B1F04 #242B04 #112B04
triadic
#242B04 #04242B #2B0424
tetradic
#242B04 #042B1F #0B042B #2B0411
square
#242B04 #042B1F #0B042B #2B0411
split-complementary
#242B04 #04112B #1F042B
monochromatic
#171C03 #171C03 #242B04 #536309 #829B0E

Accessibility & contrast

On white

14.76
#242B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242B04
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B04#FFFFFF#000000##FFFFFF
##242B041.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2E2807
Tritanopia (blue-blind)
#272823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242b04;
/* rgb */ color: rgb(36, 43, 4);
/* oklch */ color: oklch(27.3% 0.059 119.3);
Tailwind
colors: {
  custom: {
    50: '#606448',
    500: '#242b04',
    950: '#000000',
  },
}
SCSS
$custom: #242b04;
$custom-light: #606448;
$custom-dark: #000000;
JSON
{
  "hex": "#242b04",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 70.769,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27309,
    "c": 0.05921,
    "h": 119.3
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#242B04
secondary
#2C1D6E
accent
#2EF953
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #242B04

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

Preview Lab → · Contrast checker → · Palette generator →

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