#9F9A24#9F9A24

#9F9A24 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.132 H 107.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9F9A24
RGBrgb(159, 154, 36)
HSLhsl(58, 63%, 38%)
HSVhsv(58, 77%, 62%)
CMYKcmyk(0%, 3.1%, 77.4%, 37.6%)
CIE-LABlab(62.18, -11.68, 57.85)
CIE-LCHlch(62.18, 59.02, 101.41°)
OKLaboklab(66.99% -0.0385 0.1264)
OKLCHoklch(66.99% 0.132 107)
XYZxyz(26.1732, 30.6104, 6.1984)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9A24 #24299F
analogous
#9F5C24 #9F9A24 #669F24
triadic
#9F9A24 #249F9A #9A249F
tetradic
#9F9A24 #249F5C #24299F #9F2466
square
#9F9A24 #249F5C #24299F #9F2466
split-complementary
#9F9A24 #24669F #5C249F
monochromatic
#3B390D #6D6A19 #9F9A24 #D0CA30 #DBD762

Accessibility & contrast

On white

2.95
#9F9A24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#9F9A24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9A24
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9A24#FFFFFF#000000##000000
##9F9A241.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89405
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9a24;
/* rgb */ color: rgb(159, 154, 36);
/* oklch */ color: oklch(67.0% 0.132 107.0);
Tailwind
colors: {
  custom: {
    50: '#bfb769',
    500: '#9f9a24',
    950: '#000000',
  },
}
SCSS
$custom: #9f9a24;
$custom-light: #bfb769;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9a24",
  "rgb": {
    "r": 159,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 57.561,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.13214,
    "h": 107
  },
  "luminance": 0.3061
}

Semantic roles & 50–950 ramp

primary
#9F9A24
secondary
#5E62C1
accent
#48E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9A24

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

Preview Lab → · Contrast checker → · Palette generator →

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