#9DAA31#9DAA31

#9DAA31 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.142 H 115.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9DAA31
RGBrgb(157, 170, 49)
HSLhsl(66, 55%, 43%)
HSVhsv(66, 71%, 67%)
CMYKcmyk(7.6%, 0%, 71.2%, 33.3%)
CIE-LABlab(66.63, -20.18, 57.45)
CIE-LCHlch(66.63, 60.89, 109.36°)
OKLaboklab(70.54% -0.0609 0.128)
OKLCHoklch(70.54% 0.142 115.5)
XYZxyz(28.8345, 36.1398, 8.3618)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA31 #3E31AA
analogous
#AA7A31 #9DAA31 #61AA31
triadic
#9DAA31 #319DAA #AA319D
tetradic
#9DAA31 #31AA7A #3E31AA #AA3161
square
#9DAA31 #31AA7A #3E31AA #AA3161
split-complementary
#9DAA31 #3161AA #7A31AA
monochromatic
#454B16 #717A23 #9DAA31 #BECC4D #CFD97C

Accessibility & contrast

On white

2.55
#9DAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#9DAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA31
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA31#FFFFFF#000000##000000
##9DAA311.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#A7A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa31;
/* rgb */ color: rgb(157, 170, 49);
/* oklch */ color: oklch(70.5% 0.142 115.5);
Tailwind
colors: {
  custom: {
    50: '#bdc371',
    500: '#9daa31',
    950: '#000000',
  },
}
SCSS
$custom: #9daa31;
$custom-light: #bdc371;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa31",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 66.446,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70537,
    "c": 0.14175,
    "h": 115.5
  },
  "luminance": 0.36139
}

Semantic roles & 50–950 ramp

primary
#9DAA31
secondary
#7D75C2
accent
#49DF59
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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