#9DAD27#9DAD27

#9DAD27 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.2% C 0.151 H 116.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#9DAD27
RGBrgb(157, 173, 39)
HSLhsl(67, 63%, 42%)
HSVhsv(67, 77%, 68%)
CMYKcmyk(9.2%, 0%, 77.5%, 32.2%)
CIE-LABlab(67.43, -22.17, 61.64)
CIE-LCHlch(67.43, 65.50, 109.78°)
OKLaboklab(71.16% -0.0673 0.1351)
OKLCHoklch(71.16% 0.151 116.5)
XYZxyz(29.2152, 37.2021, 7.5608)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAD27 #3727AD
analogous
#AD7A27 #9DAD27 #5AAD27
triadic
#9DAD27 #279DAD #AD279D
tetradic
#9DAD27 #27AD7A #3727AD #AD275A
square
#9DAD27 #27AD7A #3727AD #AD275A
split-complementary
#9DAD27 #275AAD #7A27AD
monochromatic
#424910 #707B1C #9DAD27 #C2D33E #D1DF70

Accessibility & contrast

On white

2.49
#9DAD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#9DAD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAD27
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAD27#FFFFFF#000000##000000
##9DAD271.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A400
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#A7A394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9dad27;
/* rgb */ color: rgb(157, 173, 39);
/* oklch */ color: oklch(71.2% 0.151 116.5);
Tailwind
colors: {
  custom: {
    50: '#bec56d',
    500: '#9dad27',
    950: '#000000',
  },
}
SCSS
$custom: #9dad27;
$custom-light: #bec56d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dad27",
  "rgb": {
    "r": 157,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 67.164,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71163,
    "c": 0.15092,
    "h": 116.5
  },
  "luminance": 0.37202
}

Semantic roles & 50–950 ramp

primary
#9DAD27
secondary
#756AC6
accent
#42E655
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9DAD27

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

Preview Lab → · Contrast checker → · Palette generator →

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