#9DA940#9DA940

#9DA940 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.130 H 115.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9DA940
RGBrgb(157, 169, 64)
HSLhsl(67, 45%, 46%)
HSVhsv(67, 62%, 66%)
CMYKcmyk(7.1%, 0%, 62.1%, 33.7%)
CIE-LABlab(66.45, -18.73, 51.17)
CIE-LCHlch(66.45, 54.49, 110.10°)
OKLaboklab(70.44% -0.0554 0.1171)
OKLCHoklch(70.44% 0.13 115.3)
XYZxyz(29.0186, 35.9146, 10.2530)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA940 #4C40A9
analogous
#A98040 #9DA940 #68A940
triadic
#9DA940 #409DA9 #A9409D
tetradic
#9DA940 #40A980 #4C40A9 #A94068
square
#9DA940 #40A980 #4C40A9 #A94068
split-complementary
#9DA940 #4068A9 #8040A9
monochromatic
#4B501E #747D2F #9DA940 #B9C462 #CDD58F

Accessibility & contrast

On white

2.57
#9DA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9DA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA940
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA940#FFFFFF#000000##000000
##9DA9401.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A133
Deuteranopia (green-blind)
#B4A247
Tritanopia (blue-blind)
#A6A093
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9da940;
/* rgb */ color: rgb(157, 169, 64);
/* oklch */ color: oklch(70.4% 0.130 115.3);
Tailwind
colors: {
  custom: {
    50: '#bcc27a',
    500: '#9da940',
    950: '#000000',
  },
}
SCSS
$custom: #9da940;
$custom-light: #bcc27a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da940",
  "rgb": {
    "r": 157,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 66.857,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.12951,
    "h": 115.3
  },
  "luminance": 0.35914
}

Semantic roles & 50–950 ramp

primary
#9DA940
secondary
#8C85C0
accent
#53D562
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA940

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

Preview Lab → · Contrast checker → · Palette generator →

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