#9F9130#9F9130

#9F9130 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.1% C 0.116 H 101.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9F9130
RGBrgb(159, 145, 48)
HSLhsl(52, 54%, 41%)
HSVhsv(52, 70%, 62%)
CMYKcmyk(0%, 8.8%, 69.8%, 37.6%)
CIE-LABlab(59.74, -6.29, 51.03)
CIE-LCHlch(59.74, 51.41, 97.02°)
OKLaboklab(65.08% -0.0221 0.1142)
OKLCHoklch(65.08% 0.116 101)
XYZxyz(24.9581, 27.8362, 6.8540)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9130 #303E9F
analogous
#9F5930 #9F9130 #769F30
triadic
#9F9130 #309F91 #91309F
tetradic
#9F9130 #309F59 #303E9F #9F3076
square
#9F9130 #309F59 #303E9F #9F3076
split-complementary
#9F9130 #30769F #59309F
monochromatic
#413B14 #706622 #9F9130 #C7B745 #D5C974

Accessibility & contrast

On white

3.20
#9F9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9F9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9130
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9130#FFFFFF#000000##000000
##9F91301.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D22
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#AB877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9130;
/* rgb */ color: rgb(159, 145, 48);
/* oklch */ color: oklch(65.1% 0.116 101.0);
Tailwind
colors: {
  custom: {
    50: '#bfb06e',
    500: '#9f9130',
    950: '#000000',
  },
}
SCSS
$custom: #9f9130;
$custom-light: #bfb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9130",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 52.432,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.11632,
    "h": 101
  },
  "luminance": 0.27835
}

Semantic roles & 50–950 ramp

primary
#9F9130
secondary
#6E78BD
accent
#5DDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9130

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

Preview Lab → · Contrast checker → · Palette generator →

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