#9F8D24#9F8D24

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

Color values

HEX#9F8D24
RGBrgb(159, 141, 36)
HSLhsl(51, 63%, 38%)
HSVhsv(51, 77%, 62%)
CMYKcmyk(0%, 11.3%, 77.4%, 37.6%)
CIE-LABlab(58.55, -4.70, 54.51)
CIE-LCHlch(58.55, 54.72, 94.93°)
OKLaboklab(64.11% -0.0189 0.1193)
OKLCHoklch(64.11% 0.121 99)
XYZxyz(24.1426, 26.5493, 5.5216)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8D24 #24369F
analogous
#9F5024 #9F8D24 #739F24
triadic
#9F8D24 #249F8D #8D249F
tetradic
#9F8D24 #249F50 #24369F #9F2473
square
#9F8D24 #249F50 #24369F #9F2473
split-complementary
#9F8D24 #24739F #50249F
monochromatic
#3B340D #6D6119 #9F8D24 #D0B930 #DBCA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8D24#FFFFFF#000000##000000
##9F8D241.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)
#9B890E
Deuteranopia (green-blind)
#A0902B
Tritanopia (blue-blind)
#AC8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f8d24;
/* rgb */ color: rgb(159, 141, 36);
/* oklch */ color: oklch(64.1% 0.121 99.0);
Tailwind
colors: {
  custom: {
    50: '#bfae67',
    500: '#9f8d24',
    950: '#000000',
  },
}
SCSS
$custom: #9f8d24;
$custom-light: #bfae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8d24",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 51.22,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64113,
    "c": 0.12078,
    "h": 99
  },
  "luminance": 0.26548
}

Semantic roles & 50–950 ramp

primary
#9F8D24
secondary
#5E6DC1
accent
#5AE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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