#9F8A33#9F8A33

#9F8A33 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.108 H 95.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F8A33
RGBrgb(159, 138, 51)
HSLhsl(48, 51%, 41%)
HSVhsv(48, 68%, 62%)
CMYKcmyk(0%, 13.2%, 67.9%, 37.6%)
CIE-LABlab(57.84, -2.29, 47.78)
CIE-LCHlch(57.84, 47.83, 92.75°)
OKLaboklab(63.58% -0.0104 0.1079)
OKLCHoklch(63.58% 0.108 95.5)
XYZxyz(23.9852, 25.7881, 6.8456)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8A33 #33489F
analogous
#9F5433 #9F8A33 #7E9F33
triadic
#9F8A33 #339F8A #8A339F
tetradic
#9F8A33 #339F54 #33489F #9F337E
square
#9F8A33 #339F54 #33489F #9F337E
split-complementary
#9F8A33 #337E9F #54339F
monochromatic
#423A15 #716224 #9F8A33 #C5AD4A #D4C279

Accessibility & contrast

On white

3.41
#9F8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9F8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8A33
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8A33#FFFFFF#000000##000000
##9F8A331.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#AB8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f8a33;
/* rgb */ color: rgb(159, 138, 51);
/* oklch */ color: oklch(63.6% 0.108 95.5);
Tailwind
colors: {
  custom: {
    50: '#bfab6f',
    500: '#9f8a33',
    950: '#000000',
  },
}
SCSS
$custom: #9f8a33;
$custom-light: #bfab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8a33",
  "rgb": {
    "r": 159,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 48.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.10835,
    "h": 95.5
  },
  "luminance": 0.25787
}

Semantic roles & 50–950 ramp

primary
#9F8A33
secondary
#7180BC
accent
#69DB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #9F8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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