#9C8E24#9C8E24

#9C8E24 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.122 H 101.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C8E24
RGBrgb(156, 142, 36)
HSLhsl(53, 63%, 38%)
HSVhsv(53, 77%, 61%)
CMYKcmyk(0%, 9%, 76.9%, 38.8%)
CIE-LABlab(58.55, -6.61, 54.41)
CIE-LCHlch(58.55, 54.81, 96.93°)
OKLaboklab(64.04% -0.0241 0.1192)
OKLCHoklch(64.04% 0.122 101.4)
XYZxyz(23.7029, 26.5424, 5.5434)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E24 #24329C
analogous
#9C5224 #9C8E24 #6E9C24
triadic
#9C8E24 #249C8E #8E249C
tetradic
#9C8E24 #249C52 #24329C #9C246E
square
#9C8E24 #249C52 #24329C #9C246E
split-complementary
#9C8E24 #246E9C #52249C
monochromatic
#39330D #6A6119 #9C8E24 #CEBB2F #DACC60

Accessibility & contrast

On white

3.33
#9C8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9C8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E24
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E24#FFFFFF#000000##000000
##9C8E241.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e24;
/* rgb */ color: rgb(156, 142, 36);
/* oklch */ color: oklch(64.0% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#bdae67',
    500: '#9c8e24',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e24;
$custom-light: #bdae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e24",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 53,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64041,
    "c": 0.12161,
    "h": 101.4
  },
  "luminance": 0.26541
}

Semantic roles & 50–950 ramp

primary
#9C8E24
secondary
#5C68BF
accent
#55E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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