#9DA040#9DA040

#9DA040 is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.119 H 110.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9DA040
RGBrgb(157, 160, 64)
HSLhsl(62, 43%, 44%)
HSVhsv(62, 60%, 63%)
CMYKcmyk(1.9%, 0%, 60%, 37.3%)
CIE-LABlab(63.90, -14.10, 48.39)
CIE-LCHlch(63.90, 50.41, 106.24°)
OKLaboklab(68.39% -0.0423 0.1112)
OKLCHoklch(68.39% 0.119 110.8)
XYZxyz(27.4016, 32.6805, 9.7140)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA040 #4340A0
analogous
#A07340 #9DA040 #6DA040
triadic
#9DA040 #409DA0 #A0409D
tetradic
#9DA040 #40A073 #4340A0 #A0406D
square
#9DA040 #40A073 #4340A0 #A0406D
split-complementary
#9DA040 #406DA0 #7340A0
monochromatic
#47491D #72742F #9DA040 #BCBF5E #CED08A

Accessibility & contrast

On white

2.79
#9DA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#9DA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA040
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA040#FFFFFF#000000##000000
##9DA0401.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#AC9C46
Tritanopia (blue-blind)
#A7978C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da040;
/* rgb */ color: rgb(157, 160, 64);
/* oklch */ color: oklch(68.4% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#bcbb79',
    500: '#9da040',
    950: '#000000',
  },
}
SCSS
$custom: #9da040;
$custom-light: #bcbb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9da040",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 61.875,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68393,
    "c": 0.11896,
    "h": 110.8
  },
  "luminance": 0.3268
}

Semantic roles & 50–950 ramp

primary
#9DA040
secondary
#8381BB
accent
#55D359
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9DA040

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

Preview Lab → · Contrast checker → · Palette generator →

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