#9DAC30#9DAC30

#9DAC30 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.145 H 116.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9DAC30
RGBrgb(157, 172, 48)
HSLhsl(67, 56%, 43%)
HSVhsv(67, 72%, 67%)
CMYKcmyk(8.7%, 0%, 72.1%, 32.5%)
CIE-LABlab(67.19, -21.24, 58.37)
CIE-LCHlch(67.19, 62.11, 110.00°)
OKLaboklab(70.99% -0.064 0.1298)
OKLCHoklch(70.99% 0.145 116.2)
XYZxyz(29.1914, 36.8870, 8.3778)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC30 #3F30AC
analogous
#AC7D30 #9DAC30 #5FAC30
triadic
#9DAC30 #309DAC #AC309D
tetradic
#9DAC30 #30AC7D #3F30AC #AC305F
square
#9DAC30 #30AC7D #3F30AC #AC305F
split-complementary
#9DAC30 #305FAC #7D30AC
monochromatic
#464C15 #717C23 #9DAC30 #BDCD4C #CFDA7C

Accessibility & contrast

On white

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

On black

8.38
#9DAC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC30
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC30#FFFFFF#000000##000000
##9DAC301.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A319
Deuteranopia (green-blind)
#B7A43A
Tritanopia (blue-blind)
#A7A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9dac30;
/* rgb */ color: rgb(157, 172, 48);
/* oklch */ color: oklch(71.0% 0.145 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc471',
    500: '#9dac30',
    950: '#000000',
  },
}
SCSS
$custom: #9dac30;
$custom-light: #bdc471;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac30",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 67.258,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70989,
    "c": 0.14466,
    "h": 116.2
  },
  "luminance": 0.36887
}

Semantic roles & 50–950 ramp

primary
#9DAC30
secondary
#7E75C3
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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