#9F8A30#9F8A30

#9F8A30 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.111 H 95.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9F8A30
RGBrgb(159, 138, 48)
HSLhsl(49, 54%, 41%)
HSVhsv(49, 70%, 62%)
CMYKcmyk(0%, 13.2%, 69.8%, 37.6%)
CIE-LABlab(57.81, -2.47, 49.06)
CIE-LCHlch(57.81, 49.12, 92.88°)
OKLaboklab(63.55% -0.0112 0.1101)
OKLCHoklch(63.55% 0.111 95.8)
XYZxyz(23.9212, 25.7625, 6.5084)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8A30 #30459F
analogous
#9F5330 #9F8A30 #7C9F30
triadic
#9F8A30 #309F8A #8A309F
tetradic
#9F8A30 #309F53 #30459F #9F307C
square
#9F8A30 #309F53 #30459F #9F307C
split-complementary
#9F8A30 #307C9F #53309F
monochromatic
#413814 #706122 #9F8A30 #C7AE45 #D5C374

Accessibility & contrast

On white

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

On black

6.15
#9F8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8A30
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8A30#FFFFFF#000000##000000
##9F8A301.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#9D8E35
Tritanopia (blue-blind)
#AC7F78
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f8a30;
/* rgb */ color: rgb(159, 138, 48);
/* oklch */ color: oklch(63.5% 0.111 95.8);
Tailwind
colors: {
  custom: {
    50: '#bfab6e',
    500: '#9f8a30',
    950: '#000000',
  },
}
SCSS
$custom: #9f8a30;
$custom-light: #bfab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8a30",
  "rgb": {
    "r": 159,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 48.649,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6355,
    "c": 0.11062,
    "h": 95.8
  },
  "luminance": 0.25761
}

Semantic roles & 50–950 ramp

primary
#9F8A30
secondary
#6E7DBD
accent
#66DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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