#9DAA1D#9DAA1D

#9DAA1D is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.152 H 115.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9DAA1D
RGBrgb(157, 170, 29)
HSLhsl(66, 71%, 39%)
HSVhsv(66, 83%, 67%)
CMYKcmyk(7.6%, 0%, 82.9%, 33.3%)
CIE-LABlab(66.53, -21.04, 63.68)
CIE-LCHlch(66.53, 67.06, 108.29°)
OKLaboklab(70.42% -0.0649 0.1377)
OKLCHoklch(70.42% 0.152 115.3)
XYZxyz(28.5020, 36.0068, 6.6107)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA1D #2A1DAA
analogous
#AA711D #9DAA1D #57AA1D
triadic
#9DAA1D #1D9DAA #AA1D9D
tetradic
#9DAA1D #1DAA71 #2A1DAA #AA1D57
square
#9DAA1D #1DAA71 #2A1DAA #AA1D57
split-complementary
#9DAA1D #1D57AA #711DAA
monochromatic
#3C410B #6D7614 #9DAA1D #CADB2A #D7E45E

Accessibility & contrast

On white

2.56
#9DAA1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9DAA1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA1D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA1D#FFFFFF#000000##000000
##9DAA1D1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#A8A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa1d;
/* rgb */ color: rgb(157, 170, 29);
/* oklch */ color: oklch(70.4% 0.152 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec368',
    500: '#9daa1d',
    950: '#000000',
  },
}
SCSS
$custom: #9daa1d;
$custom-light: #bec368;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa1d",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 29
  },
  "hsl": {
    "h": 65.532,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70424,
    "c": 0.15224,
    "h": 115.3
  },
  "luminance": 0.36006
}

Semantic roles & 50–950 ramp

primary
#9DAA1D
secondary
#655BC8
accent
#3AEE4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAA1D

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

Preview Lab → · Contrast checker → · Palette generator →

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