#9AAF23#9AAF23

#9AAF23 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.4% C 0.156 H 118.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#9AAF23
RGBrgb(154, 175, 35)
HSLhsl(69, 67%, 41%)
HSVhsv(69, 80%, 69%)
CMYKcmyk(12%, 0%, 80%, 31.4%)
CIE-LABlab(67.76, -24.59, 63.05)
CIE-LCHlch(67.76, 67.68, 111.31°)
OKLaboklab(71.37% -0.0741 0.1375)
OKLCHoklch(71.37% 0.156 118.3)
XYZxyz(28.9605, 37.6516, 7.3316)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAF23 #3823AF
analogous
#AF7E23 #9AAF23 #54AF23
triadic
#9AAF23 #239AAF #AF239A
tetradic
#9AAF23 #23AF7E #3823AF #AF2354
square
#9AAF23 #23AF7E #3823AF #AF2354
split-complementary
#9AAF23 #2354AF #7E23AF
monochromatic
#40490F #6D7C19 #9AAF23 #BFD738 #D0E16B

Accessibility & contrast

On white

2.46
#9AAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#9AAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAF23
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAF23#FFFFFF#000000##000000
##9AAF231.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#A4A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9aaf23;
/* rgb */ color: rgb(154, 175, 35);
/* oklch */ color: oklch(71.4% 0.156 118.3);
Tailwind
colors: {
  custom: {
    50: '#bcc66b',
    500: '#9aaf23',
    950: '#000000',
  },
}
SCSS
$custom: #9aaf23;
$custom-light: #bcc66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaf23",
  "rgb": {
    "r": 154,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 69,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.15621,
    "h": 118.3
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#9AAF23
secondary
#7566C7
accent
#3EEA58
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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