#24230F#24230F

#24230F is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.1% C 0.034 H 106.1°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#24230F
RGBrgb(36, 35, 15)
HSLhsl(57, 41%, 10%)
HSVhsv(57, 58%, 14%)
CMYKcmyk(0%, 2.8%, 58.3%, 85.9%)
CIE-LABlab(13.30, -3.30, 13.09)
CIE-LCHlch(13.30, 13.50, 104.17°)
OKLaboklab(25.15% -0.0094 0.0325)
OKLCHoklch(25.15% 0.034 106.1)
XYZxyz(1.4148, 1.6117, 0.6884)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24230F #0F1024
analogous
#24190F #24230F #1A240F
triadic
#24230F #0F2423 #230F24
tetradic
#24230F #0F2419 #0F1024 #240F1A
square
#24230F #0F2419 #0F1024 #240F1A
split-complementary
#24230F #0F1A24 #190F24
monochromatic
#161509 #161509 #24230F #4F4D21 #7A7733

Accessibility & contrast

On white

15.88
#24230F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#24230F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24230F
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24230F#FFFFFF#000000##FFFFFF
##24230F1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220D
Deuteranopia (green-blind)
#272310
Tritanopia (blue-blind)
#27211E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #24230f;
/* rgb */ color: rgb(36, 35, 15);
/* oklch */ color: oklch(25.1% 0.034 106.1);
Tailwind
colors: {
  custom: {
    50: '#5f5d4e',
    500: '#24230f',
    950: '#000000',
  },
}
SCSS
$custom: #24230f;
$custom-light: #5f5d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#24230f",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 15
  },
  "hsl": {
    "h": 57.143,
    "s": 41.176,
    "l": 10
  },
  "oklch": {
    "l": 0.25145,
    "c": 0.03382,
    "h": 106.1
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#24230F
secondary
#33355C
accent
#5DD157
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #24230F

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

Preview Lab → · Contrast checker → · Palette generator →

#24230F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva