#9FA923#9FA923

#9FA923 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.148 H 114.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9FA923
RGBrgb(159, 169, 35)
HSLhsl(64, 66%, 40%)
HSVhsv(64, 79%, 66%)
CMYKcmyk(5.9%, 0%, 79.3%, 33.7%)
CIE-LABlab(66.42, -19.46, 62.00)
CIE-LCHlch(66.42, 64.98, 107.43°)
OKLaboklab(70.38% -0.0603 0.1351)
OKLCHoklch(70.38% 0.148 114)
XYZxyz(28.7903, 35.8688, 6.9965)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA923 #2D23A9
analogous
#A97023 #9FA923 #5CA923
triadic
#9FA923 #239FA9 #A9239F
tetradic
#9FA923 #23A970 #2D23A9 #A9235C
square
#9FA923 #23A970 #2D23A9 #A9235C
split-complementary
#9FA923 #235CA9 #7023A9
monochromatic
#40440E #6F7619 #9FA923 #C9D534 #D6DF67

Accessibility & contrast

On white

2.57
#9FA923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9FA923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA923
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA923#FFFFFF#000000##000000
##9FA9231.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa923;
/* rgb */ color: rgb(159, 169, 35);
/* oklch */ color: oklch(70.4% 0.148 114.0);
Tailwind
colors: {
  custom: {
    50: '#bfc26b',
    500: '#9fa923',
    950: '#000000',
  },
}
SCSS
$custom: #9fa923;
$custom-light: #bfc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa923",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 64.478,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.70385,
    "c": 0.14789,
    "h": 114
  },
  "luminance": 0.35868
}

Semantic roles & 50–950 ramp

primary
#9FA923
secondary
#6A63C5
accent
#3FE94C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA923

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

Preview Lab → · Contrast checker → · Palette generator →

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