#9DAB2E#9DAB2E

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

Color values

HEX#9DAB2E
RGBrgb(157, 171, 46)
HSLhsl(67, 58%, 43%)
HSVhsv(67, 73%, 67%)
CMYKcmyk(8.2%, 0%, 73.1%, 32.9%)
CIE-LABlab(66.89, -20.84, 58.80)
CIE-LCHlch(66.89, 62.38, 109.52°)
OKLaboklab(70.75% -0.063 0.1303)
OKLCHoklch(70.75% 0.145 115.8)
XYZxyz(28.9614, 36.4916, 8.1022)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB2E #3C2EAB
analogous
#AB7B2E #9DAB2E #5EAB2E
triadic
#9DAB2E #2E9DAB #AB2E9D
tetradic
#9DAB2E #2EAB7B #3C2EAB #AB2E5E
square
#9DAB2E #2EAB7B #3C2EAB #AB2E5E
split-complementary
#9DAB2E #2E5EAB #7B2EAB
monochromatic
#444B14 #717B21 #9DAB2E #BFCE48 #D0DB79

Accessibility & contrast

On white

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

On black

8.30
#9DAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB2E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB2E#FFFFFF#000000##000000
##9DAB2E1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dab2e;
/* rgb */ color: rgb(157, 171, 46);
/* oklch */ color: oklch(70.7% 0.145 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc370',
    500: '#9dab2e',
    950: '#000000',
  },
}
SCSS
$custom: #9dab2e;
$custom-light: #bdc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab2e",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 66.72,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70746,
    "c": 0.14476,
    "h": 115.8
  },
  "luminance": 0.36491
}

Semantic roles & 50–950 ramp

primary
#9DAB2E
secondary
#7B72C3
accent
#47E158
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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