#9F9B23#9F9B23

#9F9B23 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.134 H 107.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F9B23
RGBrgb(159, 155, 35)
HSLhsl(58, 64%, 38%)
HSVhsv(58, 78%, 62%)
CMYKcmyk(0%, 2.5%, 78%, 37.6%)
CIE-LABlab(62.45, -12.24, 58.43)
CIE-LCHlch(62.45, 59.70, 101.84°)
OKLaboklab(67.21% -0.0402 0.1274)
OKLCHoklch(67.21% 0.134 107.5)
XYZxyz(26.3239, 30.9359, 6.1744)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9B23 #23279F
analogous
#9F5D23 #9F9B23 #659F23
triadic
#9F9B23 #239F9B #9B239F
tetradic
#9F9B23 #239F5D #23279F #9F2365
square
#9F9B23 #239F5D #23279F #9F2365
split-complementary
#9F9B23 #23659F #5D239F
monochromatic
#3B390D #6D6A18 #9F9B23 #D1CC2E #DCD860

Accessibility & contrast

On white

2.92
#9F9B23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#9F9B23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9B23
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9B23#FFFFFF#000000##000000
##9F9B231.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99502
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#AB9085
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f9b23;
/* rgb */ color: rgb(159, 155, 35);
/* oklch */ color: oklch(67.2% 0.134 107.5);
Tailwind
colors: {
  custom: {
    50: '#bfb869',
    500: '#9f9b23',
    950: '#000000',
  },
}
SCSS
$custom: #9f9b23;
$custom-light: #bfb869;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9b23",
  "rgb": {
    "r": 159,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 58.065,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67213,
    "c": 0.13363,
    "h": 107.5
  },
  "luminance": 0.30935
}

Semantic roles & 50–950 ramp

primary
#9F9B23
secondary
#5D60C1
accent
#46E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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