#9F9E23#9F9E23

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

Color values

HEX#9F9E23
RGBrgb(159, 158, 35)
HSLhsl(60, 64%, 38%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0%, 0.6%, 78%, 37.6%)
CIE-LABlab(63.30, -13.82, 59.19)
CIE-LCHlch(63.30, 60.78, 103.14°)
OKLaboklab(67.89% -0.0446 0.1291)
OKLCHoklch(67.89% 0.137 109.1)
XYZxyz(26.8293, 31.9468, 6.3429)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E23 #23249F
analogous
#9F6023 #9F9E23 #629F23
triadic
#9F9E23 #239F9E #9E239F
tetradic
#9F9E23 #239F60 #23249F #9F2362
square
#9F9E23 #239F60 #23249F #9F2362
split-complementary
#9F9E23 #23629F #60239F
monochromatic
#3B3A0D #6D6C18 #9F9E23 #D1D02E #DCDB60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9E23#FFFFFF#000000##000000
##9F9E231.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)
#AB9700
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e23;
/* rgb */ color: rgb(159, 158, 35);
/* oklch */ color: oklch(67.9% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#bfba69',
    500: '#9f9e23',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e23;
$custom-light: #bfba69;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e23",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 59.516,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.13656,
    "h": 109.1
  },
  "luminance": 0.31946
}

Semantic roles & 50–950 ramp

primary
#9F9E23
secondary
#5D5EC1
accent
#42E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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