#9DB12A#9DB12A

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

Color values

HEX#9DB12A
RGBrgb(157, 177, 42)
HSLhsl(69, 62%, 43%)
HSVhsv(69, 76%, 69%)
CMYKcmyk(11.3%, 0%, 76.3%, 30.6%)
CIE-LABlab(68.59, -24.01, 61.76)
CIE-LCHlch(68.59, 66.26, 111.25°)
OKLaboklab(72.1% -0.0722 0.1359)
OKLCHoklch(72.1% 0.154 118)
XYZxyz(30.0454, 38.7798, 8.0925)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB12A #3E2AB1
analogous
#B1812A #9DB12A #59B12A
triadic
#9DB12A #2A9DB1 #B12A9D
tetradic
#9DB12A #2AB181 #3E2AB1 #B12A59
square
#9DB12A #2AB181 #3E2AB1 #B12A59
split-complementary
#9DB12A #2A59B1 #812AB1
monochromatic
#454E13 #71801E #9DB12A #BED345 #CFDF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB12A#FFFFFF#000000##000000
##9DB12A1.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)
#BDA706
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#A7A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db12a;
/* rgb */ color: rgb(157, 177, 42);
/* oklch */ color: oklch(72.1% 0.154 118.0);
Tailwind
colors: {
  custom: {
    50: '#bdc86f',
    500: '#9db12a',
    950: '#000000',
  },
}
SCSS
$custom: #9db12a;
$custom-light: #bdc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db12a",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 68.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72103,
    "c": 0.15383,
    "h": 118
  },
  "luminance": 0.3878
}

Semantic roles & 50–950 ramp

primary
#9DB12A
secondary
#7D70C6
accent
#43E55B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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