#9C8F24#9C8F24

#9C8F24 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.122 H 102.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8F24
RGBrgb(156, 143, 36)
HSLhsl(54, 63%, 38%)
HSVhsv(54, 77%, 61%)
CMYKcmyk(0%, 8.3%, 76.9%, 38.8%)
CIE-LABlab(58.83, -7.15, 54.67)
CIE-LCHlch(58.83, 55.13, 97.45°)
OKLaboklab(64.26% -0.0257 0.1197)
OKLCHoklch(64.26% 0.122 102.1)
XYZxyz(23.8523, 26.8413, 5.5932)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F24 #24319C
analogous
#9C5324 #9C8F24 #6D9C24
triadic
#9C8F24 #249C8F #8F249C
tetradic
#9C8F24 #249C53 #24319C #9C246D
square
#9C8F24 #249C53 #24319C #9C246D
split-complementary
#9C8F24 #246D9C #53249C
monochromatic
#39340D #6A6119 #9C8F24 #CEBD2F #DACD60

Accessibility & contrast

On white

3.30
#9C8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9C8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F24
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F24#FFFFFF#000000##000000
##9C8F241.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A0D
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8f24;
/* rgb */ color: rgb(156, 143, 36);
/* oklch */ color: oklch(64.3% 0.122 102.1);
Tailwind
colors: {
  custom: {
    50: '#bdaf68',
    500: '#9c8f24',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f24;
$custom-light: #bdaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f24",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 53.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64263,
    "c": 0.12246,
    "h": 102.1
  },
  "luminance": 0.2684
}

Semantic roles & 50–950 ramp

primary
#9C8F24
secondary
#5C67BF
accent
#54E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8F24

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

Preview Lab → · Contrast checker → · Palette generator →

#9C8F24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva