#9DB41F#9DB41F

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

Color values

HEX#9DB41F
RGBrgb(157, 180, 31)
HSLhsl(69, 71%, 41%)
HSVhsv(69, 83%, 71%)
CMYKcmyk(12.8%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.41, -25.91, 65.65)
CIE-LCHlch(69.41, 70.58, 111.54°)
OKLaboklab(72.74% -0.0782 0.1423)
OKLCHoklch(72.74% 0.162 118.8)
XYZxyz(30.4739, 39.9098, 7.3940)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB41F #361FB4
analogous
#B4811F #9DB41F #53B41F
triadic
#9DB41F #1F9DB4 #B41F9D
tetradic
#9DB41F #1FB481 #361FB4 #B41F53
square
#9DB41F #1FB481 #361FB4 #B41F53
split-complementary
#9DB41F #1F53B4 #811FB4
monochromatic
#424C0D #6F8016 #9DB41F #C2DC34 #D2E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB41F#FFFFFF#000000##000000
##9DB41F1.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)
#BEAA2F
Tritanopia (blue-blind)
#A7AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db41f;
/* rgb */ color: rgb(157, 180, 31);
/* oklch */ color: oklch(72.7% 0.162 118.8);
Tailwind
colors: {
  custom: {
    50: '#beca6a',
    500: '#9db41f',
    950: '#000000',
  },
}
SCSS
$custom: #9db41f;
$custom-light: #beca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db41f",
  "rgb": {
    "r": 157,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 69.262,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.16234,
    "h": 118.8
  },
  "luminance": 0.3991
}

Semantic roles & 50–950 ramp

primary
#9DB41F
secondary
#7464CB
accent
#3AED56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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