#9DAC27#9DAC27

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

Color values

HEX#9DAC27
RGBrgb(157, 172, 39)
HSLhsl(67, 63%, 41%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(8.7%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.14, -21.67, 61.37)
CIE-LCHlch(67.14, 65.09, 109.45°)
OKLaboklab(70.93% -0.0659 0.1345)
OKLCHoklch(70.93% 0.15 116.1)
XYZxyz(29.0241, 36.8201, 7.4971)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC27 #3627AC
analogous
#AC7927 #9DAC27 #5BAC27
triadic
#9DAC27 #279DAC #AC279D
tetradic
#9DAC27 #27AC79 #3627AC #AC275B
square
#9DAC27 #27AC79 #3627AC #AC275B
split-complementary
#9DAC27 #275BAC #7927AC
monochromatic
#424810 #6F7A1C #9DAC27 #C2D33D #D2DE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAC27#FFFFFF#000000##000000
##9DAC271.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)
#B8A301
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#A7A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac27;
/* rgb */ color: rgb(157, 172, 39);
/* oklch */ color: oklch(70.9% 0.150 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc46d',
    500: '#9dac27',
    950: '#000000',
  },
}
SCSS
$custom: #9dac27;
$custom-light: #bdc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac27",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 66.767,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70933,
    "c": 0.14981,
    "h": 116.1
  },
  "luminance": 0.3682
}

Semantic roles & 50–950 ramp

primary
#9DAC27
secondary
#746AC5
accent
#42E654
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9DAC27

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

Preview Lab → · Contrast checker → · Palette generator →

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