#9DB128#9DB128

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

Color values

HEX#9DB128
RGBrgb(157, 177, 40)
HSLhsl(69, 63%, 43%)
HSVhsv(69, 77%, 69%)
CMYKcmyk(11.3%, 0%, 77.4%, 30.6%)
CIE-LABlab(68.58, -24.10, 62.38)
CIE-LCHlch(68.58, 66.88, 111.12°)
OKLaboklab(72.09% -0.0726 0.1368)
OKLCHoklch(72.09% 0.155 117.9)
XYZxyz(30.0105, 38.7659, 7.9087)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB128 #3C28B1
analogous
#B18028 #9DB128 #59B128
triadic
#9DB128 #289DB1 #B1289D
tetradic
#9DB128 #28B180 #3C28B1 #B12859
square
#9DB128 #28B180 #3C28B1 #B12859
split-complementary
#9DB128 #2859B1 #8028B1
monochromatic
#444D11 #717F1D #9DB128 #BFD442 #D0E074

Accessibility & contrast

On white

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

On black

8.75
#9DB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB128
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB128#FFFFFF#000000##000000
##9DB1281.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db128;
/* rgb */ color: rgb(157, 177, 40);
/* oklch */ color: oklch(72.1% 0.155 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec86e',
    500: '#9db128',
    950: '#000000',
  },
}
SCSS
$custom: #9db128;
$custom-light: #bec86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9db128",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 68.759,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72092,
    "c": 0.15489,
    "h": 117.9
  },
  "luminance": 0.38766
}

Semantic roles & 50–950 ramp

primary
#9DB128
secondary
#7B6EC7
accent
#42E65A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DB128

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

Preview Lab → · Contrast checker → · Palette generator →

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