#9DB12F#9DB12F

#9DB12F is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.1% C 0.151 H 118.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#9DB12F
RGBrgb(157, 177, 47)
HSLhsl(69, 58%, 44%)
HSVhsv(69, 73%, 69%)
CMYKcmyk(11.3%, 0%, 73.4%, 30.6%)
CIE-LABlab(68.62, -23.77, 60.11)
CIE-LCHlch(68.62, 64.64, 111.58°)
OKLaboklab(72.13% -0.0711 0.1332)
OKLCHoklch(72.13% 0.151 118.1)
XYZxyz(30.1405, 38.8179, 8.5936)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB12F #432FB1
analogous
#B1842F #9DB12F #5CB12F
triadic
#9DB12F #2F9DB1 #B12F9D
tetradic
#9DB12F #2FB184 #432FB1 #B12F5C
square
#9DB12F #2FB184 #432FB1 #B12F5C
split-complementary
#9DB12F #2F5CB1 #842FB1
monochromatic
#475015 #728122 #9DB12F #BCD04D #CEDD7E

Accessibility & contrast

On white

2.40
#9DB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#9DB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB12F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB12F#FFFFFF#000000##000000
##9DB12F1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#A7A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db12f;
/* rgb */ color: rgb(157, 177, 47);
/* oklch */ color: oklch(72.1% 0.151 118.1);
Tailwind
colors: {
  custom: {
    50: '#bdc871',
    500: '#9db12f',
    950: '#000000',
  },
}
SCSS
$custom: #9db12f;
$custom-light: #bdc871;
$custom-dark: #000000;
JSON
{
  "hex": "#9db12f",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 69.231,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.151,
    "h": 118.1
  },
  "luminance": 0.38818
}

Semantic roles & 50–950 ramp

primary
#9DB12F
secondary
#8376C5
accent
#47E15E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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