#9DAB2F#9DAB2F

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

Color values

HEX#9DAB2F
RGBrgb(157, 171, 47)
HSLhsl(67, 57%, 43%)
HSVhsv(67, 73%, 67%)
CMYKcmyk(8.2%, 0%, 72.5%, 32.9%)
CIE-LABlab(66.90, -20.79, 58.45)
CIE-LCHlch(66.90, 62.03, 109.58°)
OKLaboklab(70.75% -0.0628 0.1297)
OKLCHoklch(70.75% 0.144 115.8)
XYZxyz(28.9814, 36.4996, 8.2072)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB2F #3D2FAB
analogous
#AB7B2F #9DAB2F #5FAB2F
triadic
#9DAB2F #2F9DAB #AB2F9D
tetradic
#9DAB2F #2FAB7B #3D2FAB #AB2F5F
square
#9DAB2F #2FAB7B #3D2FAB #AB2F5F
split-complementary
#9DAB2F #2F5FAB #7B2FAB
monochromatic
#454B15 #717B22 #9DAB2F #BECD4A #D0DA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAB2F#FFFFFF#000000##000000
##9DAB2F1.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)
#B7A218
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#A7A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab2f;
/* rgb */ color: rgb(157, 171, 47);
/* oklch */ color: oklch(70.8% 0.144 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc370',
    500: '#9dab2f',
    950: '#000000',
  },
}
SCSS
$custom: #9dab2f;
$custom-light: #bdc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab2f",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 66.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70753,
    "c": 0.14414,
    "h": 115.8
  },
  "luminance": 0.36499
}

Semantic roles & 50–950 ramp

primary
#9DAB2F
secondary
#7C73C3
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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