#9F9E27#9F9E27

#9F9E27 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.9% C 0.134 H 109.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9F9E27
RGBrgb(159, 158, 39)
HSLhsl(60, 61%, 39%)
HSVhsv(60, 75%, 62%)
CMYKcmyk(0%, 0.6%, 75.5%, 37.6%)
CIE-LABlab(63.32, -13.65, 57.90)
CIE-LCHlch(63.32, 59.49, 103.26°)
OKLaboklab(67.91% -0.0438 0.1271)
OKLCHoklch(67.91% 0.134 109)
XYZxyz(26.8922, 31.9720, 6.6737)
Luminance0.3197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E27 #27289F
analogous
#9F6227 #9F9E27 #649F27
triadic
#9F9E27 #279F9E #9E279F
tetradic
#9F9E27 #279F62 #27289F #9F2764
square
#9F9E27 #279F62 #27289F #9F2764
split-complementary
#9F9E27 #27649F #62279F
monochromatic
#3D3C0F #6E6D1B #9F9E27 #CECC36 #DAD967

Accessibility & contrast

On white

2.84
#9F9E27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#9F9E27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9E27
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9E27#FFFFFF#000000##000000
##9F9E271.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#AB9487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e27;
/* rgb */ color: rgb(159, 158, 39);
/* oklch */ color: oklch(67.9% 0.134 109.0);
Tailwind
colors: {
  custom: {
    50: '#bfba6b',
    500: '#9f9e27',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e27;
$custom-light: #bfba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e27",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 39
  },
  "hsl": {
    "h": 59.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67911,
    "c": 0.13441,
    "h": 109
  },
  "luminance": 0.31971
}

Semantic roles & 50–950 ramp

primary
#9F9E27
secondary
#6263C0
accent
#45E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9E27

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

Preview Lab → · Contrast checker → · Palette generator →

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