#242900#242900

#242900 is a dark, moderate yellow. Relative luminance 0.020; OKLCH L 26.7% C 0.061 H 116.6°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#242900
RGBrgb(36, 41, 0)
HSLhsl(67, 100%, 8%)
HSVhsv(67, 100%, 16%)
CMYKcmyk(12.2%, 0%, 100%, 83.9%)
CIE-LABlab(15.28, -8.85, 22.08)
CIE-LCHlch(15.28, 23.79, 111.84°)
OKLaboklab(26.67% -0.0274 0.0548)
OKLCHoklch(26.67% 0.061 116.6)
XYZxyz(1.5205, 1.9610, 0.2984)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242900 #050029
analogous
#291900 #242900 #0F2900
triadic
#242900 #002429 #290024
tetradic
#242900 #002919 #050029 #29000F
square
#242900 #002919 #050029 #29000F
split-complementary
#242900 #000F29 #190029
monochromatic
#1B1F00 #1B1F00 #242900 #5A6600 #8FA300

Accessibility & contrast

On white

15.08
#242900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#242900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242900
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242900#FFFFFF#000000##FFFFFF
##2429001.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2C2702
Tritanopia (blue-blind)
#272621
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #242900;
/* rgb */ color: rgb(36, 41, 0);
/* oklch */ color: oklch(26.7% 0.061 116.6);
Tailwind
colors: {
  custom: {
    50: '#5f6246',
    500: '#242900',
    950: '#000000',
  },
}
SCSS
$custom: #242900;
$custom-light: #5f6246;
$custom-dark: #000000;
JSON
{
  "hex": "#242900",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 0
  },
  "hsl": {
    "h": 67.317,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.26666,
    "c": 0.06126,
    "h": 116.6
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#242900
secondary
#1F1471
accent
#29FF43
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #242900

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

Preview Lab → · Contrast checker → · Palette generator →

#242900 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva