#9FA623#9FA623

#9FA623 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.145 H 112.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9FA623
RGBrgb(159, 166, 35)
HSLhsl(63, 65%, 39%)
HSVhsv(63, 79%, 65%)
CMYKcmyk(4.2%, 0%, 78.9%, 34.9%)
CIE-LABlab(65.57, -17.94, 61.23)
CIE-LCHlch(65.57, 63.81, 106.33°)
OKLaboklab(69.7% -0.056 0.1334)
OKLCHoklch(69.7% 0.145 112.8)
XYZxyz(28.2386, 34.7654, 6.8126)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA623 #2A23A6
analogous
#A66C23 #9FA623 #5EA623
triadic
#9FA623 #239FA6 #A6239F
tetradic
#9FA623 #23A66C #2A23A6 #A6235E
square
#9FA623 #23A66C #2A23A6 #A6235E
split-complementary
#9FA623 #235EA6 #6C23A6
monochromatic
#3E410E #6F7318 #9FA623 #CBD432 #D8DF65

Accessibility & contrast

On white

2.64
#9FA623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9FA623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA623
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA623#FFFFFF#000000##000000
##9FA6231.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B3A12F
Tritanopia (blue-blind)
#AA9C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa623;
/* rgb */ color: rgb(159, 166, 35);
/* oklch */ color: oklch(69.7% 0.145 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06a',
    500: '#9fa623',
    950: '#000000',
  },
}
SCSS
$custom: #9fa623;
$custom-light: #bfc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa623",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 63.206,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69701,
    "c": 0.14472,
    "h": 112.8
  },
  "luminance": 0.34765
}

Semantic roles & 50–950 ramp

primary
#9FA623
secondary
#6661C4
accent
#40E849
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA623

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

Preview Lab → · Contrast checker → · Palette generator →

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