#9F992D#9F992D

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

Color values

HEX#9F992D
RGBrgb(159, 153, 45)
HSLhsl(57, 56%, 40%)
HSVhsv(57, 72%, 62%)
CMYKcmyk(0%, 3.8%, 71.7%, 37.6%)
CIE-LABlab(61.95, -10.73, 54.43)
CIE-LCHlch(61.95, 55.47, 101.16°)
OKLaboklab(66.83% -0.035 0.1208)
OKLCHoklch(66.83% 0.126 106.2)
XYZxyz(26.1640, 30.3438, 6.9609)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F992D #2D339F
analogous
#9F602D #9F992D #6C9F2D
triadic
#9F992D #2D9F99 #992D9F
tetradic
#9F992D #2D9F60 #2D339F #9F2D6C
square
#9F992D #2D9F60 #2D339F #9F2D6C
split-complementary
#9F992D #2D6C9F #602D9F
monochromatic
#403D12 #6F6B20 #9F992D #C9C240 #D6D170

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F992D#FFFFFF#000000##000000
##9F992D1.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)
#A6931B
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f992d;
/* rgb */ color: rgb(159, 153, 45);
/* oklch */ color: oklch(66.8% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#bfb66d',
    500: '#9f992d',
    950: '#000000',
  },
}
SCSS
$custom: #9f992d;
$custom-light: #bfb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f992d",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 56.842,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.12581,
    "h": 106.2
  },
  "luminance": 0.30343
}

Semantic roles & 50–950 ramp

primary
#9F992D
secondary
#6A6EBE
accent
#51DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F992D

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

Preview Lab → · Contrast checker → · Palette generator →

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