#242803#242803

#242803 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.4% C 0.056 H 115.6°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#242803
RGBrgb(36, 40, 3)
HSLhsl(66, 86%, 8%)
HSVhsv(66, 93%, 16%)
CMYKcmyk(10%, 0%, 92.5%, 84.3%)
CIE-LABlab(14.95, -7.91, 20.43)
CIE-LCHlch(14.95, 21.91, 111.16°)
OKLaboklab(26.41% -0.0242 0.0506)
OKLCHoklch(26.41% 0.056 115.6)
XYZxyz(1.5028, 1.8993, 0.3736)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242803 #070328
analogous
#281903 #242803 #112803
triadic
#242803 #032428 #280324
tetradic
#242803 #032819 #070328 #280311
square
#242803 #032819 #070328 #280311
split-complementary
#242803 #031128 #190328
monochromatic
#1A1C02 #1A1C02 #242803 #576107 #8A9A0C

Accessibility & contrast

On white

15.22
#242803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#242803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242803
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242803#FFFFFF#000000##FFFFFF
##2428031.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#2B2605
Tritanopia (blue-blind)
#272521
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #242803;
/* rgb */ color: rgb(36, 40, 3);
/* oklch */ color: oklch(26.4% 0.056 115.6);
Tailwind
colors: {
  custom: {
    50: '#5f6148',
    500: '#242803',
    950: '#000000',
  },
}
SCSS
$custom: #242803;
$custom-light: #5f6148;
$custom-dark: #000000;
JSON
{
  "hex": "#242803",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 66.486,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2641,
    "c": 0.0561,
    "h": 115.6
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#242803
secondary
#241B6C
accent
#2CFC42
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050500
muted
#797977

Preview Lab

Preview with #242803

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

Preview Lab → · Contrast checker → · Palette generator →

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