#9F8D30#9F8D30

#9F8D30 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.113 H 98.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9F8D30
RGBrgb(159, 141, 48)
HSLhsl(50, 54%, 41%)
HSVhsv(50, 70%, 62%)
CMYKcmyk(0%, 11.3%, 69.8%, 37.6%)
CIE-LABlab(58.64, -4.11, 49.90)
CIE-LCHlch(58.64, 50.07, 94.71°)
OKLaboklab(64.2% -0.0159 0.1118)
OKLCHoklch(64.2% 0.113 98.1)
XYZxyz(24.3576, 26.6353, 6.6539)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8D30 #30429F
analogous
#9F5530 #9F8D30 #799F30
triadic
#9F8D30 #309F8D #8D309F
tetradic
#9F8D30 #309F55 #30429F #9F3079
square
#9F8D30 #309F55 #30429F #9F3079
split-complementary
#9F8D30 #30799F #55309F
monochromatic
#413A14 #706322 #9F8D30 #C7B245 #D5C574

Accessibility & contrast

On white

3.32
#9F8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9F8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8D30
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8D30#FFFFFF#000000##000000
##9F8D301.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8923
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#AB837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f8d30;
/* rgb */ color: rgb(159, 141, 48);
/* oklch */ color: oklch(64.2% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#bfae6e',
    500: '#9f8d30',
    950: '#000000',
  },
}
SCSS
$custom: #9f8d30;
$custom-light: #bfae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8d30",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 50.27,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64203,
    "c": 0.11296,
    "h": 98.1
  },
  "luminance": 0.26634
}

Semantic roles & 50–950 ramp

primary
#9F8D30
secondary
#6E7BBD
accent
#63DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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