#9DAA2F#9DAA2F

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

Color values

HEX#9DAA2F
RGBrgb(157, 170, 47)
HSLhsl(66, 57%, 43%)
HSVhsv(66, 72%, 67%)
CMYKcmyk(7.6%, 0%, 72.4%, 33.3%)
CIE-LABlab(66.61, -20.29, 58.17)
CIE-LCHlch(66.61, 61.61, 109.23°)
OKLaboklab(70.52% -0.0614 0.1291)
OKLCHoklch(70.52% 0.143 115.4)
XYZxyz(28.7932, 36.1233, 8.1445)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA2F #3C2FAA
analogous
#AA792F #9DAA2F #60AA2F
triadic
#9DAA2F #2F9DAA #AA2F9D
tetradic
#9DAA2F #2FAA79 #3C2FAA #AA2F60
square
#9DAA2F #2FAA79 #3C2FAA #AA2F60
split-complementary
#9DAA2F #2F60AA #792FAA
monochromatic
#444A14 #717A22 #9DAA2F #BFCD49 #D0DA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAA2F#FFFFFF#000000##000000
##9DAA2F1.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)
#B6A118
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#A7A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa2f;
/* rgb */ color: rgb(157, 170, 47);
/* oklch */ color: oklch(70.5% 0.143 115.4);
Tailwind
colors: {
  custom: {
    50: '#bdc370',
    500: '#9daa2f',
    950: '#000000',
  },
}
SCSS
$custom: #9daa2f;
$custom-light: #bdc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa2f",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 66.341,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.14301,
    "h": 115.4
  },
  "luminance": 0.36123
}

Semantic roles & 50–950 ramp

primary
#9DAA2F
secondary
#7B72C2
accent
#48E058
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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