#9D992F#9D992F

#9D992F is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.125 H 107.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9D992F
RGBrgb(157, 153, 47)
HSLhsl(58, 54%, 40%)
HSVhsv(58, 70%, 62%)
CMYKcmyk(0%, 2.5%, 70.1%, 38.4%)
CIE-LABlab(61.79, -11.52, 53.43)
CIE-LCHlch(61.79, 54.66, 102.16°)
OKLaboklab(66.66% -0.0369 0.1192)
OKLCHoklch(66.66% 0.125 107.2)
XYZxyz(25.8099, 30.1567, 7.1500)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D992F #2F339D
analogous
#9D622F #9D992F #6A9D2F
triadic
#9D992F #2F9D99 #992F9D
tetradic
#9D992F #2F9D62 #2F339D #9D2F6A
square
#9D992F #2F9D62 #2F339D #9D2F6A
split-complementary
#9D992F #2F6A9D #622F9D
monochromatic
#3F3D13 #6E6B21 #9D992F #C7C243 #D5D172

Accessibility & contrast

On white

2.99
#9D992F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#9D992F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D992F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D992F#FFFFFF#000000##000000
##9D992F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#A88F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d992f;
/* rgb */ color: rgb(157, 153, 47);
/* oklch */ color: oklch(66.7% 0.125 107.2);
Tailwind
colors: {
  custom: {
    50: '#bdb66e',
    500: '#9d992f',
    950: '#000000',
  },
}
SCSS
$custom: #9d992f;
$custom-light: #bdb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d992f",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 57.818,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.66664,
    "c": 0.12474,
    "h": 107.2
  },
  "luminance": 0.30156
}

Semantic roles & 50–950 ramp

primary
#9D992F
secondary
#6B6EBC
accent
#50DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9D992F

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

Preview Lab → · Contrast checker → · Palette generator →

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