#9DAA2D#9DAA2D

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

Color values

HEX#9DAA2D
RGBrgb(157, 170, 45)
HSLhsl(66, 58%, 42%)
HSVhsv(66, 74%, 67%)
CMYKcmyk(7.6%, 0%, 73.5%, 33.3%)
CIE-LABlab(66.60, -20.39, 58.87)
CIE-LCHlch(66.60, 62.30, 109.10°)
OKLaboklab(70.51% -0.0619 0.1303)
OKLCHoklch(70.51% 0.144 115.4)
XYZxyz(28.7538, 36.1075, 7.9368)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA2D #3A2DAA
analogous
#AA792D #9DAA2D #5FAA2D
triadic
#9DAA2D #2D9DAA #AA2D9D
tetradic
#9DAA2D #2DAA79 #3A2DAA #AA2D5F
square
#9DAA2D #2DAA79 #3A2DAA #AA2D5F
split-complementary
#9DAA2D #2D5FAA #792DAA
monochromatic
#444913 #707A20 #9DAA2D #C0CE46 #D0DB77

Accessibility & contrast

On white

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

On black

8.22
#9DAA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA2D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA2D#FFFFFF#000000##000000
##9DAA2D1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9daa2d;
/* rgb */ color: rgb(157, 170, 45);
/* oklch */ color: oklch(70.5% 0.144 115.4);
Tailwind
colors: {
  custom: {
    50: '#bdc36f',
    500: '#9daa2d',
    950: '#000000',
  },
}
SCSS
$custom: #9daa2d;
$custom-light: #bdc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa2d",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 66.24,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7051,
    "c": 0.14424,
    "h": 115.4
  },
  "luminance": 0.36107
}

Semantic roles & 50–950 ramp

primary
#9DAA2D
secondary
#7970C3
accent
#46E157
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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