#9D8F24#9D8F24

#9D8F24 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.122 H 101.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9D8F24
RGBrgb(157, 143, 36)
HSLhsl(53, 63%, 38%)
HSVhsv(53, 77%, 62%)
CMYKcmyk(0%, 8.9%, 77.1%, 38.4%)
CIE-LABlab(58.92, -6.70, 54.79)
CIE-LCHlch(58.92, 55.19, 96.97°)
OKLaboklab(64.36% -0.0244 0.12)
OKLCHoklch(64.36% 0.122 101.5)
XYZxyz(24.0467, 26.9415, 5.6023)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8F24 #24329D
analogous
#9D5324 #9D8F24 #6E9D24
triadic
#9D8F24 #249D8F #8F249D
tetradic
#9D8F24 #249D53 #24329D #9D246E
square
#9D8F24 #249D53 #24329D #9D246E
split-complementary
#9D8F24 #246E9D #53249D
monochromatic
#39340D #6B6219 #9D8F24 #CFBC2F #DBCD61

Accessibility & contrast

On white

3.29
#9D8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9D8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8F24
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8F24#FFFFFF#000000##000000
##9D8F241.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B0D
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#A9847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d8f24;
/* rgb */ color: rgb(157, 143, 36);
/* oklch */ color: oklch(64.4% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#beaf68',
    500: '#9d8f24',
    950: '#000000',
  },
}
SCSS
$custom: #9d8f24;
$custom-light: #beaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8f24",
  "rgb": {
    "r": 157,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 53.058,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64359,
    "c": 0.12242,
    "h": 101.5
  },
  "luminance": 0.2694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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