#9F8D1E#9F8D1E

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

Color values

HEX#9F8D1E
RGBrgb(159, 141, 30)
HSLhsl(52, 68%, 37%)
HSVhsv(52, 81%, 62%)
CMYKcmyk(0%, 11.3%, 81.1%, 37.6%)
CIE-LABlab(58.52, -4.93, 56.49)
CIE-LCHlch(58.52, 56.71, 94.99°)
OKLaboklab(64.08% -0.0201 0.1223)
OKLCHoklch(64.08% 0.124 99.4)
XYZxyz(24.0585, 26.5156, 5.0788)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8D1E #1E309F
analogous
#9F4D1E #9F8D1E #719F1E
triadic
#9F8D1E #1E9F8D #8D1E9F
tetradic
#9F8D1E #1E9F4D #1E309F #9F1E71
square
#9F8D1E #1E9F4D #1E309F #9F1E71
split-complementary
#9F8D1E #1E719F #4D1E9F
monochromatic
#38320B #6C5F14 #9F8D1E #D2BB28 #DFCD58

Accessibility & contrast

On white

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

On black

6.30
#9F8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8D1E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8D1E#FFFFFF#000000##000000
##9F8D1E1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A09027
Tritanopia (blue-blind)
#AC8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f8d1e;
/* rgb */ color: rgb(159, 141, 30);
/* oklch */ color: oklch(64.1% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#bfad65',
    500: '#9f8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f8d1e;
$custom-light: #bfad65;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8d1e",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 51.628,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.12395,
    "h": 99.4
  },
  "luminance": 0.26514
}

Semantic roles & 50–950 ramp

primary
#9F8D1E
secondary
#5665C3
accent
#55EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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