#9AAF26#9AAF26

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

Color values

HEX#9AAF26
RGBrgb(154, 175, 38)
HSLhsl(69, 64%, 42%)
HSVhsv(69, 78%, 69%)
CMYKcmyk(12%, 0%, 78.3%, 31.4%)
CIE-LABlab(67.78, -24.47, 62.18)
CIE-LCHlch(67.78, 66.82, 111.48°)
OKLaboklab(71.39% -0.0736 0.1362)
OKLCHoklch(71.39% 0.155 118.4)
XYZxyz(29.0069, 37.6702, 7.5763)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAF26 #3B26AF
analogous
#AF8026 #9AAF26 #56AF26
triadic
#9AAF26 #269AAF #AF269A
tetradic
#9AAF26 #26AF80 #3B26AF #AF2656
square
#9AAF26 #26AF80 #3B26AF #AF2656
split-complementary
#9AAF26 #2656AF #8026AF
monochromatic
#424A10 #6E7D1B #9AAF26 #BED53D #CFE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAF26#FFFFFF#000000##000000
##9AAF261.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)
#B9A633
Tritanopia (blue-blind)
#A4A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9aaf26;
/* rgb */ color: rgb(154, 175, 38);
/* oklch */ color: oklch(71.4% 0.155 118.4);
Tailwind
colors: {
  custom: {
    50: '#bbc66d',
    500: '#9aaf26',
    950: '#000000',
  },
}
SCSS
$custom: #9aaf26;
$custom-light: #bbc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaf26",
  "rgb": {
    "r": 154,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 69.197,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71386,
    "c": 0.15477,
    "h": 118.4
  },
  "luminance": 0.3767
}

Semantic roles & 50–950 ramp

primary
#9AAF26
secondary
#786AC7
accent
#40E75A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9AAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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