#9DB41B#9DB41B

#9DB41B is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.7% C 0.164 H 118.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#9DB41B
RGBrgb(157, 180, 27)
HSLhsl(69, 74%, 41%)
HSVhsv(69, 85%, 71%)
CMYKcmyk(12.8%, 0%, 85%, 29.4%)
CIE-LABlab(69.39, -26.03, 66.60)
CIE-LCHlch(69.39, 71.51, 111.35°)
OKLaboklab(72.73% -0.0787 0.1437)
OKLCHoklch(72.73% 0.164 118.7)
XYZxyz(30.4245, 39.8900, 7.1335)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB41B #321BB4
analogous
#B47F1B #9DB41B #50B41B
triadic
#9DB41B #1B9DB4 #B41B9D
tetradic
#9DB41B #1BB47F #321BB4 #B41B50
square
#9DB41B #1BB47F #321BB4 #B41B50
split-complementary
#9DB41B #1B50B4 #7F1BB4
monochromatic
#404A0B #6F7F13 #9DB41B #C5DF2D #D3E762

Accessibility & contrast

On white

2.34
#9DB41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#9DB41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB41B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB41B#FFFFFF#000000##000000
##9DB41B1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA2D
Tritanopia (blue-blind)
#A7AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db41b;
/* rgb */ color: rgb(157, 180, 27);
/* oklch */ color: oklch(72.7% 0.164 118.7);
Tailwind
colors: {
  custom: {
    50: '#beca69',
    500: '#9db41b',
    950: '#000000',
  },
}
SCSS
$custom: #9db41b;
$custom-light: #beca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9db41b",
  "rgb": {
    "r": 157,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 69.02,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.16384,
    "h": 118.7
  },
  "luminance": 0.3989
}

Semantic roles & 50–950 ramp

primary
#9DB41B
secondary
#6F5FCC
accent
#37F153
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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