#9DAA2B#9DAA2B

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

Color values

HEX#9DAA2B
RGBrgb(157, 170, 43)
HSLhsl(66, 60%, 42%)
HSVhsv(66, 75%, 67%)
CMYKcmyk(7.6%, 0%, 74.7%, 33.3%)
CIE-LABlab(66.59, -20.49, 59.55)
CIE-LCHlch(66.59, 62.98, 108.98°)
OKLaboklab(70.5% -0.0623 0.1314)
OKLCHoklch(70.5% 0.145 115.4)
XYZxyz(28.7162, 36.0924, 7.7388)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA2B #382BAA
analogous
#AA782B #9DAA2B #5EAA2B
triadic
#9DAA2B #2B9DAA #AA2B9D
tetradic
#9DAA2B #2BAA78 #382BAA #AA2B5E
square
#9DAA2B #2BAA78 #382BAA #AA2B5E
split-complementary
#9DAA2B #2B5EAA #782BAA
monochromatic
#434812 #70791F #9DAA2B #C1CF43 #D1DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAA2B#FFFFFF#000000##000000
##9DAA2B1.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)
#B6A10F
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#A7A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa2b;
/* rgb */ color: rgb(157, 170, 43);
/* oklch */ color: oklch(70.5% 0.145 115.4);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9daa2b',
    950: '#000000',
  },
}
SCSS
$custom: #9daa2b;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa2b",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 66.142,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70497,
    "c": 0.14541,
    "h": 115.4
  },
  "luminance": 0.36092
}

Semantic roles & 50–950 ramp

primary
#9DAA2B
secondary
#766EC3
accent
#45E355
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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