#9F8A24#9F8A24

#9F8A24 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.119 H 96.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9F8A24
RGBrgb(159, 138, 36)
HSLhsl(50, 63%, 38%)
HSVhsv(50, 77%, 62%)
CMYKcmyk(0%, 13.2%, 77.4%, 37.6%)
CIE-LABlab(57.73, -3.06, 53.75)
CIE-LCHlch(57.73, 53.83, 93.26°)
OKLaboklab(63.46% -0.0143 0.1177)
OKLCHoklch(63.46% 0.119 96.9)
XYZxyz(23.7062, 25.6765, 5.3761)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8A24 #24399F
analogous
#9F4C24 #9F8A24 #769F24
triadic
#9F8A24 #249F8A #8A249F
tetradic
#9F8A24 #249F4C #24399F #9F2476
square
#9F8A24 #249F4C #24399F #9F2476
split-complementary
#9F8A24 #24769F #4C249F
monochromatic
#3B330D #6D5F19 #9F8A24 #D0B530 #DBC762

Accessibility & contrast

On white

3.42
#9F8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9F8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8A24
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8A24#FFFFFF#000000##000000
##9F8A241.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998710
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#AC7F76
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f8a24;
/* rgb */ color: rgb(159, 138, 36);
/* oklch */ color: oklch(63.5% 0.119 96.9);
Tailwind
colors: {
  custom: {
    50: '#bfab67',
    500: '#9f8a24',
    950: '#000000',
  },
}
SCSS
$custom: #9f8a24;
$custom-light: #bfab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8a24",
  "rgb": {
    "r": 159,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 49.756,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.11851,
    "h": 96.9
  },
  "luminance": 0.25675
}

Semantic roles & 50–950 ramp

primary
#9F8A24
secondary
#5E6FC1
accent
#5EE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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