#9DA71B#9DA71B

#9DA71B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.150 H 114.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9DA71B
RGBrgb(157, 167, 27)
HSLhsl(64, 72%, 38%)
HSVhsv(64, 84%, 65%)
CMYKcmyk(6%, 0%, 83.8%, 34.5%)
CIE-LABlab(65.66, -19.60, 63.44)
CIE-LCHlch(65.66, 66.40, 107.17°)
OKLaboklab(69.73% -0.0611 0.1368)
OKLCHoklch(69.73% 0.15 114.1)
XYZxyz(27.9221, 34.8852, 6.2993)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA71B #251BA7
analogous
#A76B1B #9DA71B #57A71B
triadic
#9DA71B #1B9DA7 #A71B9D
tetradic
#9DA71B #1BA76B #251BA7 #A71B57
square
#9DA71B #1BA76B #251BA7 #A71B57
split-complementary
#9DA71B #1B57A7 #6B1BA7
monochromatic
#3A3E0A #6B7212 #9DA71B #CEDC24 #DAE458

Accessibility & contrast

On white

2.63
#9DA71B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#9DA71B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA71B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA71B#FFFFFF#000000##000000
##9DA71B1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B4A12A
Tritanopia (blue-blind)
#A89D8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9da71b;
/* rgb */ color: rgb(157, 167, 27);
/* oklch */ color: oklch(69.7% 0.150 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec067',
    500: '#9da71b',
    950: '#000000',
  },
}
SCSS
$custom: #9da71b;
$custom-light: #bec067;
$custom-dark: #000000;
JSON
{
  "hex": "#9da71b",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 64.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.69726,
    "c": 0.14985,
    "h": 114.1
  },
  "luminance": 0.34885
}

Semantic roles & 50–950 ramp

primary
#9DA71B
secondary
#5E56C8
accent
#39EF46
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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