#9F9B24#9F9B24

#9F9B24 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.133 H 107.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F9B24
RGBrgb(159, 155, 36)
HSLhsl(58, 63%, 38%)
HSVhsv(58, 77%, 62%)
CMYKcmyk(0%, 2.5%, 77.4%, 37.6%)
CIE-LABlab(62.46, -12.20, 58.11)
CIE-LCHlch(62.46, 59.38, 101.86°)
OKLaboklab(67.22% -0.04 0.127)
OKLCHoklch(67.22% 0.133 107.5)
XYZxyz(26.3389, 30.9419, 6.2537)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9B24 #24289F
analogous
#9F5D24 #9F9B24 #659F24
triadic
#9F9B24 #249F9B #9B249F
tetradic
#9F9B24 #249F5D #24289F #9F2465
square
#9F9B24 #249F5D #24289F #9F2465
split-complementary
#9F9B24 #24659F #5D249F
monochromatic
#3B3A0D #6D6A19 #9F9B24 #D0CB30 #DBD762

Accessibility & contrast

On white

2.92
#9F9B24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#9F9B24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9B24
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9B24#FFFFFF#000000##000000
##9F9B241.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99505
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#AB9085
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f9b24;
/* rgb */ color: rgb(159, 155, 36);
/* oklch */ color: oklch(67.2% 0.133 107.5);
Tailwind
colors: {
  custom: {
    50: '#bfb869',
    500: '#9f9b24',
    950: '#000000',
  },
}
SCSS
$custom: #9f9b24;
$custom-light: #bfb869;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9b24",
  "rgb": {
    "r": 159,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 58.049,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67218,
    "c": 0.13311,
    "h": 107.5
  },
  "luminance": 0.30941
}

Semantic roles & 50–950 ramp

primary
#9F9B24
secondary
#5E61C1
accent
#47E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9B24

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

Preview Lab → · Contrast checker → · Palette generator →

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