#9F9927#9F9927

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

Color values

HEX#9F9927
RGBrgb(159, 153, 39)
HSLhsl(57, 61%, 39%)
HSVhsv(57, 75%, 62%)
CMYKcmyk(0%, 3.8%, 75.5%, 37.6%)
CIE-LABlab(61.91, -11.02, 56.59)
CIE-LCHlch(61.91, 57.65, 101.02°)
OKLaboklab(66.79% -0.0364 0.1243)
OKLCHoklch(66.79% 0.13 106.3)
XYZxyz(26.0566, 30.3008, 6.3952)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9927 #272D9F
analogous
#9F5D27 #9F9927 #699F27
triadic
#9F9927 #279F99 #99279F
tetradic
#9F9927 #279F5D #272D9F #9F2769
square
#9F9927 #279F5D #272D9F #9F2769
split-complementary
#9F9927 #27699F #5D279F
monochromatic
#3D3A0F #6E6A1B #9F9927 #CEC636 #DAD467

Accessibility & contrast

On white

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

On black

7.06
#9F9927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9927
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9927#FFFFFF#000000##000000
##9F99271.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930F
Deuteranopia (green-blind)
#A99830
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9927;
/* rgb */ color: rgb(159, 153, 39);
/* oklch */ color: oklch(66.8% 0.130 106.3);
Tailwind
colors: {
  custom: {
    50: '#bfb66a',
    500: '#9f9927',
    950: '#000000',
  },
}
SCSS
$custom: #9f9927;
$custom-light: #bfb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9927",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 57,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.12952,
    "h": 106.3
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

primary
#9F9927
secondary
#6267C0
accent
#4CE444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9927

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

Preview Lab → · Contrast checker → · Palette generator →

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