#9F9C2D#9F9C2D

#9F9C2D is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.5% C 0.129 H 107.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9F9C2D
RGBrgb(159, 156, 45)
HSLhsl(58, 56%, 40%)
HSVhsv(58, 72%, 62%)
CMYKcmyk(0%, 1.9%, 71.7%, 37.6%)
CIE-LABlab(62.79, -12.32, 55.25)
CIE-LCHlch(62.79, 56.60, 102.57°)
OKLaboklab(67.5% -0.0395 0.1226)
OKLCHoklch(67.5% 0.129 107.8)
XYZxyz(26.6612, 31.3382, 7.1266)
Luminance0.3134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9C2D #2D309F
analogous
#9F632D #9F9C2D #699F2D
triadic
#9F9C2D #2D9F9C #9C2D9F
tetradic
#9F9C2D #2D9F63 #2D309F #9F2D69
square
#9F9C2D #2D9F63 #2D309F #9F2D69
split-complementary
#9F9C2D #2D699F #632D9F
monochromatic
#403E12 #6F6D20 #9F9C2D #C9C540 #D6D470

Accessibility & contrast

On white

2.89
#9F9C2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#9F9C2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9C2D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9C2D#FFFFFF#000000##000000
##9F9C2D1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961A
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#AB9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9c2d;
/* rgb */ color: rgb(159, 156, 45);
/* oklch */ color: oklch(67.5% 0.129 107.8);
Tailwind
colors: {
  custom: {
    50: '#bfb86e',
    500: '#9f9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #9f9c2d;
$custom-light: #bfb86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9c2d",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 58.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.12877,
    "h": 107.8
  },
  "luminance": 0.31337
}

Semantic roles & 50–950 ramp

primary
#9F9C2D
secondary
#6A6CBE
accent
#4DDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9F9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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