#9DAC25#9DAC25

#9DAC25 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.9% C 0.151 H 116.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#9DAC25
RGBrgb(157, 172, 37)
HSLhsl(67, 65%, 41%)
HSVhsv(67, 78%, 67%)
CMYKcmyk(8.7%, 0%, 78.5%, 32.5%)
CIE-LABlab(67.13, -21.75, 61.98)
CIE-LCHlch(67.13, 65.69, 109.34°)
OKLaboklab(70.92% -0.0663 0.1355)
OKLCHoklch(70.92% 0.151 116.1)
XYZxyz(28.9919, 36.8072, 7.3271)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC25 #3425AC
analogous
#AC7725 #9DAC25 #59AC25
triadic
#9DAC25 #259DAC #AC259D
tetradic
#9DAC25 #25AC77 #3425AC #AC2559
square
#9DAC25 #25AC77 #3425AC #AC2559
split-complementary
#9DAC25 #2559AC #7725AC
monochromatic
#41470F #6F7A1A #9DAC25 #C3D53A #D3DF6C

Accessibility & contrast

On white

2.51
#9DAC25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#9DAC25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC25
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC25#FFFFFF#000000##000000
##9DAC251.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#A7A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac25;
/* rgb */ color: rgb(157, 172, 37);
/* oklch */ color: oklch(70.9% 0.151 116.1);
Tailwind
colors: {
  custom: {
    50: '#bec46c',
    500: '#9dac25',
    950: '#000000',
  },
}
SCSS
$custom: #9dac25;
$custom-light: #bec46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac25",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 66.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70922,
    "c": 0.15082,
    "h": 116.1
  },
  "luminance": 0.36807
}

Semantic roles & 50–950 ramp

primary
#9DAC25
secondary
#7267C6
accent
#40E853
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAC25

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

Preview Lab → · Contrast checker → · Palette generator →

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