#9DAB25#9DAB25

#9DAB25 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.7% C 0.150 H 115.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#9DAB25
RGBrgb(157, 171, 37)
HSLhsl(66, 64%, 41%)
HSVhsv(66, 78%, 67%)
CMYKcmyk(8.2%, 0%, 78.4%, 32.9%)
CIE-LABlab(66.85, -21.25, 61.72)
CIE-LCHlch(66.85, 65.28, 109.00°)
OKLaboklab(70.69% -0.0649 0.1349)
OKLCHoklch(70.69% 0.15 115.7)
XYZxyz(28.8023, 36.4280, 7.2639)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB25 #3325AB
analogous
#AB7625 #9DAB25 #5AAB25
triadic
#9DAB25 #259DAB #AB259D
tetradic
#9DAB25 #25AB76 #3325AB #AB255A
square
#9DAB25 #25AB76 #3325AB #AB255A
split-complementary
#9DAB25 #255AAB #7625AB
monochromatic
#41460F #6F791A #9DAB25 #C4D439 #D3DF6B

Accessibility & contrast

On white

2.53
#9DAB25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#9DAB25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB25
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB25#FFFFFF#000000##000000
##9DAB251.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B6A432
Tritanopia (blue-blind)
#A7A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab25;
/* rgb */ color: rgb(157, 171, 37);
/* oklch */ color: oklch(70.7% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec36c',
    500: '#9dab25',
    950: '#000000',
  },
}
SCSS
$custom: #9dab25;
$custom-light: #bec36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab25",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 66.269,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.14973,
    "h": 115.7
  },
  "luminance": 0.36427
}

Semantic roles & 50–950 ramp

primary
#9DAB25
secondary
#7067C5
accent
#40E752
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAB25

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

Preview Lab → · Contrast checker → · Palette generator →

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