#9DB12C#9DB12C

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

Color values

HEX#9DB12C
RGBrgb(157, 177, 44)
HSLhsl(69, 60%, 43%)
HSVhsv(69, 75%, 69%)
CMYKcmyk(11.3%, 0%, 75.1%, 30.6%)
CIE-LABlab(68.60, -23.92, 61.11)
CIE-LCHlch(68.60, 65.63, 111.38°)
OKLaboklab(72.11% -0.0717 0.1348)
OKLCHoklch(72.11% 0.153 118)
XYZxyz(30.0821, 38.7945, 8.2857)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB12C #402CB1
analogous
#B1822C #9DB12C #5AB12C
triadic
#9DB12C #2C9DB1 #B12C9D
tetradic
#9DB12C #2CB182 #402CB1 #B12C5A
square
#9DB12C #2CB182 #402CB1 #B12C5A
split-complementary
#9DB12C #2C5AB1 #822CB1
monochromatic
#464F14 #728020 #9DB12C #BDD249 #CFDE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB12C#FFFFFF#000000##000000
##9DB12C1.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)
#BDA70D
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#A7A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db12c;
/* rgb */ color: rgb(157, 177, 44);
/* oklch */ color: oklch(72.1% 0.153 118.0);
Tailwind
colors: {
  custom: {
    50: '#bdc870',
    500: '#9db12c',
    950: '#000000',
  },
}
SCSS
$custom: #9db12c;
$custom-light: #bdc870;
$custom-dark: #000000;
JSON
{
  "hex": "#9db12c",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 69.023,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72115,
    "c": 0.15274,
    "h": 118
  },
  "luminance": 0.38794
}

Semantic roles & 50–950 ramp

primary
#9DB12C
secondary
#7F73C6
accent
#44E35C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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