#9DAB2A#9DAB2A

#9DAB2A is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.7% C 0.147 H 115.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#9DAB2A
RGBrgb(157, 171, 42)
HSLhsl(67, 61%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.2%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.87, -21.04, 60.15)
CIE-LCHlch(66.87, 63.73, 109.28°)
OKLaboklab(70.72% -0.0639 0.1325)
OKLCHoklch(70.72% 0.147 115.8)
XYZxyz(28.8862, 36.4615, 7.7061)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB2A #382AAB
analogous
#AB792A #9DAB2A #5CAB2A
triadic
#9DAB2A #2A9DAB #AB2A9D
tetradic
#9DAB2A #2AAB79 #382AAB #AB2A5C
square
#9DAB2A #2AAB79 #382AAB #AB2A5C
split-complementary
#9DAB2A #2A5CAB #792AAB
monochromatic
#434912 #707A1E #9DAB2A #C1D142 #D1DD73

Accessibility & contrast

On white

2.53
#9DAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#9DAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB2A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB2A#FFFFFF#000000##000000
##9DAB2A1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20B
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#A7A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab2a;
/* rgb */ color: rgb(157, 171, 42);
/* oklch */ color: oklch(70.7% 0.147 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9dab2a',
    950: '#000000',
  },
}
SCSS
$custom: #9dab2a;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab2a",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 66.512,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7072,
    "c": 0.14709,
    "h": 115.8
  },
  "luminance": 0.36461
}

Semantic roles & 50–950 ramp

primary
#9DAB2A
secondary
#766DC4
accent
#44E455
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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