#9AAF25#9AAF25

#9AAF25 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#9AAF25
RGBrgb(154, 175, 37)
HSLhsl(69, 65%, 42%)
HSVhsv(69, 79%, 69%)
CMYKcmyk(12%, 0%, 78.9%, 31.4%)
CIE-LABlab(67.77, -24.51, 62.48)
CIE-LCHlch(67.77, 67.11, 111.42°)
OKLaboklab(71.38% -0.0738 0.1366)
OKLCHoklch(71.38% 0.155 118.4)
XYZxyz(28.9910, 37.6638, 7.4925)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAF25 #3A25AF
analogous
#AF7F25 #9AAF25 #55AF25
triadic
#9AAF25 #259AAF #AF259A
tetradic
#9AAF25 #25AF7F #3A25AF #AF2555
square
#9AAF25 #25AF7F #3A25AF #AF2555
split-complementary
#9AAF25 #2555AF #7F25AF
monochromatic
#414A10 #6E7C1A #9AAF25 #BED63C #CFE06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAF25#FFFFFF#000000##000000
##9AAF251.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: #9aaf25;
/* rgb */ color: rgb(154, 175, 37);
/* oklch */ color: oklch(71.4% 0.155 118.4);
Tailwind
colors: {
  custom: {
    50: '#bbc66c',
    500: '#9aaf25',
    950: '#000000',
  },
}
SCSS
$custom: #9aaf25;
$custom-light: #bbc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaf25",
  "rgb": {
    "r": 154,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 69.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71381,
    "c": 0.15526,
    "h": 118.4
  },
  "luminance": 0.37664
}

Semantic roles & 50–950 ramp

primary
#9AAF25
secondary
#7769C7
accent
#40E859
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9AAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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