#242A04#242A04

#242A04 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.058 H 118.2°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#242A04
RGBrgb(36, 42, 4)
HSLhsl(69, 83%, 9%)
HSVhsv(69, 90%, 16%)
CMYKcmyk(14.3%, 0%, 90.5%, 83.5%)
CIE-LABlab(15.69, -9.08, 20.97)
CIE-LCHlch(15.69, 22.85, 113.40°)
OKLaboklab(27.01% -0.0272 0.0509)
OKLCHoklch(27.01% 0.058 118.2)
XYZxyz(1.5775, 2.0398, 0.4255)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A04 #0A042A
analogous
#2A1D04 #242A04 #112A04
triadic
#242A04 #04242A #2A0424
tetradic
#242A04 #042A1D #0A042A #2A0411
square
#242A04 #042A1D #0A042A #2A0411
split-complementary
#242A04 #04112A #1D042A
monochromatic
#181C03 #181C03 #242A04 #546209 #849A0F

Accessibility & contrast

On white

14.91
#242A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242A04
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A04#FFFFFF#000000##FFFFFF
##242A041.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242a04;
/* rgb */ color: rgb(36, 42, 4);
/* oklch */ color: oklch(27.0% 0.058 118.2);
Tailwind
colors: {
  custom: {
    50: '#606348',
    500: '#242a04',
    950: '#000000',
  },
}
SCSS
$custom: #242a04;
$custom-light: #606348;
$custom-dark: #000000;
JSON
{
  "hex": "#242a04",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 69.474,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27013,
    "c": 0.05775,
    "h": 118.2
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#242A04
secondary
#2A1D6D
accent
#2FF94F
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #242A04

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

Preview Lab → · Contrast checker → · Palette generator →

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