#9FA423#9FA423

#9FA423 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.143 H 111.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9FA423
RGBrgb(159, 164, 35)
HSLhsl(62, 65%, 39%)
HSVhsv(62, 79%, 64%)
CMYKcmyk(3%, 0%, 78.7%, 35.7%)
CIE-LABlab(65.00, -16.92, 60.72)
CIE-LCHlch(65.00, 63.03, 105.57°)
OKLaboklab(69.25% -0.0532 0.1323)
OKLCHoklch(69.25% 0.143 111.9)
XYZxyz(27.8779, 34.0439, 6.6924)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA423 #2823A4
analogous
#A46923 #9FA423 #5FA423
triadic
#9FA423 #239FA4 #A4239F
tetradic
#9FA423 #23A469 #2823A4 #A4235F
square
#9FA423 #23A469 #2823A4 #A4235F
split-complementary
#9FA423 #235FA4 #6923A4
monochromatic
#3D3F0D #6E7218 #9FA423 #CDD331 #D9DE64

Accessibility & contrast

On white

2.69
#9FA423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#9FA423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA423
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA423#FFFFFF#000000##000000
##9FA4231.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B29F2F
Tritanopia (blue-blind)
#AA9A8C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa423;
/* rgb */ color: rgb(159, 164, 35);
/* oklch */ color: oklch(69.2% 0.143 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfbe6a',
    500: '#9fa423',
    950: '#000000',
  },
}
SCSS
$custom: #9fa423;
$custom-light: #bfbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa423",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 62.326,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.14264,
    "h": 111.9
  },
  "luminance": 0.34043
}

Semantic roles & 50–950 ramp

primary
#9FA423
secondary
#6460C3
accent
#40E847
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA423

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

Preview Lab → · Contrast checker → · Palette generator →

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