#9F992F#9F992F

#9F992F is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.8% C 0.124 H 106.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F992F
RGBrgb(159, 153, 47)
HSLhsl(57, 54%, 40%)
HSVhsv(57, 70%, 62%)
CMYKcmyk(0%, 3.8%, 70.4%, 37.6%)
CIE-LABlab(61.96, -10.63, 53.66)
CIE-LCHlch(61.96, 54.70, 101.20°)
OKLaboklab(66.85% -0.0345 0.1196)
OKLCHoklch(66.85% 0.124 106.1)
XYZxyz(26.2034, 30.3596, 7.1685)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F992F #2F359F
analogous
#9F612F #9F992F #6D9F2F
triadic
#9F992F #2F9F99 #992F9F
tetradic
#9F992F #2F9F61 #2F359F #9F2F6D
square
#9F992F #2F9F61 #2F359F #9F2F6D
split-complementary
#9F992F #2F6D9F #612F9F
monochromatic
#413E13 #706C21 #9F992F #C8C144 #D6D073

Accessibility & contrast

On white

2.97
#9F992F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9F992F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F992F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F992F#FFFFFF#000000##000000
##9F992F1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f992f;
/* rgb */ color: rgb(159, 153, 47);
/* oklch */ color: oklch(66.8% 0.124 106.1);
Tailwind
colors: {
  custom: {
    50: '#bfb66e',
    500: '#9f992f',
    950: '#000000',
  },
}
SCSS
$custom: #9f992f;
$custom-light: #bfb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f992f",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 56.786,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.12446,
    "h": 106.1
  },
  "luminance": 0.30359
}

Semantic roles & 50–950 ramp

primary
#9F992F
secondary
#6D71BD
accent
#52DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9F992F

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

Preview Lab → · Contrast checker → · Palette generator →

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