#9DA42A#9DA42A

#9DA42A is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.139 H 112.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9DA42A
RGBrgb(157, 164, 42)
HSLhsl(63, 59%, 40%)
HSVhsv(63, 74%, 64%)
CMYKcmyk(4.3%, 0%, 74.4%, 35.7%)
CIE-LABlab(64.87, -17.49, 58.27)
CIE-LCHlch(64.87, 60.84, 106.71°)
OKLaboklab(69.12% -0.0541 0.1285)
OKLCHoklch(69.12% 0.139 112.8)
XYZxyz(27.5989, 33.8868, 7.2770)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA42A #312AA4
analogous
#A46E2A #9DA42A #60A42A
triadic
#9DA42A #2A9DA4 #A42A9D
tetradic
#9DA42A #2AA46E #312AA4 #A42A60
square
#9DA42A #2AA46E #312AA4 #A42A60
split-complementary
#9DA42A #2A60A4 #6E2AA4
monochromatic
#404311 #6E731E #9DA42A #C5CD3E #D4DA6E

Accessibility & contrast

On white

2.70
#9DA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#9DA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA42A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA42A#FFFFFF#000000##000000
##9DA42A1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C10
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#A89A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da42a;
/* rgb */ color: rgb(157, 164, 42);
/* oklch */ color: oklch(69.1% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe6d',
    500: '#9da42a',
    950: '#000000',
  },
}
SCSS
$custom: #9da42a;
$custom-light: #bdbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9da42a",
  "rgb": {
    "r": 157,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 63.443,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69118,
    "c": 0.13941,
    "h": 112.8
  },
  "luminance": 0.33886
}

Semantic roles & 50–950 ramp

primary
#9DA42A
secondary
#6E69C1
accent
#45E24E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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