#9DB12E#9DB12E

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

Color values

HEX#9DB12E
RGBrgb(157, 177, 46)
HSLhsl(69, 59%, 44%)
HSVhsv(69, 74%, 69%)
CMYKcmyk(11.3%, 0%, 74%, 30.6%)
CIE-LABlab(68.61, -23.82, 60.45)
CIE-LCHlch(68.61, 64.97, 111.51°)
OKLaboklab(72.13% -0.0713 0.1338)
OKLCHoklch(72.13% 0.152 118.1)
XYZxyz(30.1206, 38.8099, 8.4885)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB12E #422EB1
analogous
#B1832E #9DB12E #5BB12E
triadic
#9DB12E #2E9DB1 #B12E9D
tetradic
#9DB12E #2EB183 #422EB1 #B12E5B
square
#9DB12E #2EB183 #422EB1 #B12E5B
split-complementary
#9DB12E #2E5BB1 #832EB1
monochromatic
#475015 #728021 #9DB12E #BCD04C #CEDD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB12E#FFFFFF#000000##000000
##9DB12E1.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)
#BDA713
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#A7A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db12e;
/* rgb */ color: rgb(157, 177, 46);
/* oklch */ color: oklch(72.1% 0.152 118.1);
Tailwind
colors: {
  custom: {
    50: '#bdc871',
    500: '#9db12e',
    950: '#000000',
  },
}
SCSS
$custom: #9db12e;
$custom-light: #bdc871;
$custom-dark: #000000;
JSON
{
  "hex": "#9db12e",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 69.16,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72128,
    "c": 0.15159,
    "h": 118.1
  },
  "luminance": 0.3881
}

Semantic roles & 50–950 ramp

primary
#9DB12E
secondary
#8275C6
accent
#46E25E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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