#9DAA40#9DAA40

#9DAA40 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.7% C 0.131 H 115.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#9DAA40
RGBrgb(157, 170, 64)
HSLhsl(67, 45%, 46%)
HSVhsv(67, 62%, 67%)
CMYKcmyk(7.6%, 0%, 62.4%, 33.3%)
CIE-LABlab(66.74, -19.24, 51.48)
CIE-LCHlch(66.74, 54.96, 110.49°)
OKLaboklab(70.66% -0.0568 0.1177)
OKLCHoklch(70.66% 0.131 115.7)
XYZxyz(29.2054, 36.2881, 10.3153)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA40 #4D40AA
analogous
#AA8240 #9DAA40 #68AA40
triadic
#9DAA40 #409DAA #AA409D
tetradic
#9DAA40 #40AA82 #4D40AA #AA4068
square
#9DAA40 #40AA82 #4D40AA #AA4068
split-complementary
#9DAA40 #4068AA #8240AA
monochromatic
#4B511F #747E2F #9DAA40 #B8C463 #CCD58F

Accessibility & contrast

On white

2.54
#9DAA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#9DAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA40
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA40#FFFFFF#000000##000000
##9DAA401.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A233
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#A6A194
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa40;
/* rgb */ color: rgb(157, 170, 64);
/* oklch */ color: oklch(70.7% 0.131 115.7);
Tailwind
colors: {
  custom: {
    50: '#bcc37a',
    500: '#9daa40',
    950: '#000000',
  },
}
SCSS
$custom: #9daa40;
$custom-light: #bcc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa40",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 67.358,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70664,
    "c": 0.13071,
    "h": 115.7
  },
  "luminance": 0.36288
}

Semantic roles & 50–950 ramp

primary
#9DAA40
secondary
#8D86C0
accent
#53D563
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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