#9DAA2A#9DAA2A

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

Color values

HEX#9DAA2A
RGBrgb(157, 170, 42)
HSLhsl(66, 60%, 42%)
HSVhsv(66, 75%, 67%)
CMYKcmyk(7.6%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.58, -20.53, 59.88)
CIE-LCHlch(66.58, 63.31, 108.93°)
OKLaboklab(70.49% -0.0625 0.1319)
OKLCHoklch(70.49% 0.146 115.4)
XYZxyz(28.6981, 36.0852, 7.6434)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA2A #372AAA
analogous
#AA772A #9DAA2A #5DAA2A
triadic
#9DAA2A #2A9DAA #AA2A9D
tetradic
#9DAA2A #2AAA77 #372AAA #AA2A5D
square
#9DAA2A #2AAA77 #372AAA #AA2A5D
split-complementary
#9DAA2A #2A5DAA #772AAA
monochromatic
#424812 #70791E #9DAA2A #C2D041 #D1DC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAA2A#FFFFFF#000000##000000
##9DAA2A1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9daa2a;
/* rgb */ color: rgb(157, 170, 42);
/* oklch */ color: oklch(70.5% 0.146 115.4);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9daa2a',
    950: '#000000',
  },
}
SCSS
$custom: #9daa2a;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa2a",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 66.094,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70491,
    "c": 0.14598,
    "h": 115.4
  },
  "luminance": 0.36085
}

Semantic roles & 50–950 ramp

primary
#9DAA2A
secondary
#756CC3
accent
#44E454
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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