#9F9923#9F9923

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

Color values

HEX#9F9923
RGBrgb(159, 153, 35)
HSLhsl(57, 64%, 38%)
HSVhsv(57, 78%, 62%)
CMYKcmyk(0%, 3.8%, 78%, 37.6%)
CIE-LABlab(61.89, -11.19, 57.92)
CIE-LCHlch(61.89, 58.99, 100.93°)
OKLaboklab(66.76% -0.0373 0.1264)
OKLCHoklch(66.76% 0.132 106.4)
XYZxyz(25.9938, 30.2757, 6.0643)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9923 #23299F
analogous
#9F5B23 #9F9923 #679F23
triadic
#9F9923 #239F99 #99239F
tetradic
#9F9923 #239F5B #23299F #9F2367
square
#9F9923 #239F5B #23299F #9F2367
split-complementary
#9F9923 #23679F #5B239F
monochromatic
#3B380D #6D6918 #9F9923 #D1C92E #DCD660

Accessibility & contrast

On white

2.98
#9F9923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9923#FFFFFF#000000##000000
##9F99231.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79303
Deuteranopia (green-blind)
#A9982D
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9f9923;
/* rgb */ color: rgb(159, 153, 35);
/* oklch */ color: oklch(66.8% 0.132 106.4);
Tailwind
colors: {
  custom: {
    50: '#bfb668',
    500: '#9f9923',
    950: '#000000',
  },
}
SCSS
$custom: #9f9923;
$custom-light: #bfb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9923",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 57.097,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66764,
    "c": 0.13173,
    "h": 106.4
  },
  "luminance": 0.30275
}

Semantic roles & 50–950 ramp

primary
#9F9923
secondary
#5D62C1
accent
#49E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9923

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

Preview Lab → · Contrast checker → · Palette generator →

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