#9F9723#9F9723

#9F9723 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.130 H 105.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F9723
RGBrgb(159, 151, 35)
HSLhsl(56, 64%, 38%)
HSVhsv(56, 78%, 62%)
CMYKcmyk(0%, 5%, 78%, 37.6%)
CIE-LABlab(61.33, -10.13, 57.41)
CIE-LCHlch(61.33, 58.29, 100.01°)
OKLaboklab(66.32% -0.0343 0.1253)
OKLCHoklch(66.32% 0.13 105.3)
XYZxyz(25.6692, 29.6265, 5.9561)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9723 #232B9F
analogous
#9F5923 #9F9723 #699F23
triadic
#9F9723 #239F97 #97239F
tetradic
#9F9723 #239F59 #232B9F #9F2369
square
#9F9723 #239F59 #232B9F #9F2369
split-complementary
#9F9723 #23699F #59239F
monochromatic
#3B380D #6D6718 #9F9723 #D1C72E #DCD460

Accessibility & contrast

On white

3.03
#9F9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9F9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9723
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9723#FFFFFF#000000##000000
##9F97231.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59105
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f9723;
/* rgb */ color: rgb(159, 151, 35);
/* oklch */ color: oklch(66.3% 0.130 105.3);
Tailwind
colors: {
  custom: {
    50: '#bfb568',
    500: '#9f9723',
    950: '#000000',
  },
}
SCSS
$custom: #9f9723;
$custom-light: #bfb568;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9723",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 56.129,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66318,
    "c": 0.12987,
    "h": 105.3
  },
  "luminance": 0.29625
}

Semantic roles & 50–950 ramp

primary
#9F9723
secondary
#5D63C1
accent
#4CE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9723

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

Preview Lab → · Contrast checker → · Palette generator →

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