#9DA81B#9DA81B

#9DA81B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.0% C 0.151 H 114.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9DA81B
RGBrgb(157, 168, 27)
HSLhsl(65, 72%, 38%)
HSVhsv(65, 84%, 66%)
CMYKcmyk(6.5%, 0%, 83.9%, 34.1%)
CIE-LABlab(65.95, -20.10, 63.68)
CIE-LCHlch(65.95, 66.78, 107.52°)
OKLaboklab(69.96% -0.0625 0.1374)
OKLCHoklch(69.96% 0.151 114.5)
XYZxyz(28.1060, 35.2531, 6.3606)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA81B #261BA8
analogous
#A86C1B #9DA81B #56A81B
triadic
#9DA81B #1B9DA8 #A81B9D
tetradic
#9DA81B #1BA86C #261BA8 #A81B56
square
#9DA81B #1BA86C #261BA8 #A81B56
split-complementary
#9DA81B #1B56A8 #6C1BA8
monochromatic
#3A3F0A #6C7313 #9DA81B #CEDC24 #D9E459

Accessibility & contrast

On white

2.61
#9DA81B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9DA81B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA81B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA81B#FFFFFF#000000##000000
##9DA81B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12A
Tritanopia (blue-blind)
#A89E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da81b;
/* rgb */ color: rgb(157, 168, 27);
/* oklch */ color: oklch(70.0% 0.151 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec167',
    500: '#9da81b',
    950: '#000000',
  },
}
SCSS
$custom: #9da81b;
$custom-light: #bec167;
$custom-dark: #000000;
JSON
{
  "hex": "#9da81b",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 64.681,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69956,
    "c": 0.1509,
    "h": 114.5
  },
  "luminance": 0.35252
}

Semantic roles & 50–950 ramp

primary
#9DA81B
secondary
#6057C8
accent
#39EF47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA81B

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

Preview Lab → · Contrast checker → · Palette generator →

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