#9DB028#9DB028

#9DB028 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 71.9% C 0.154 H 117.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#9DB028
RGBrgb(157, 176, 40)
HSLhsl(68, 63%, 42%)
HSVhsv(68, 77%, 69%)
CMYKcmyk(10.8%, 0%, 77.3%, 31%)
CIE-LABlab(68.29, -23.61, 62.12)
CIE-LCHlch(68.29, 66.45, 110.81°)
OKLaboklab(71.86% -0.0712 0.1363)
OKLCHoklch(71.86% 0.154 117.6)
XYZxyz(29.8137, 38.3723, 7.8431)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB028 #3B28B0
analogous
#B07F28 #9DB028 #59B028
triadic
#9DB028 #289DB0 #B0289D
tetradic
#9DB028 #28B07F #3B28B0 #B02859
square
#9DB028 #28B07F #3B28B0 #B02859
split-complementary
#9DB028 #2859B0 #7F28B0
monochromatic
#444C11 #717E1D #9DB028 #BFD441 #D0DF73

Accessibility & contrast

On white

2.42
#9DB028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#9DB028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB028
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB028#FFFFFF#000000##000000
##9DB0281.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#A7A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9db028;
/* rgb */ color: rgb(157, 176, 40);
/* oklch */ color: oklch(71.9% 0.154 117.6);
Tailwind
colors: {
  custom: {
    50: '#bec76e',
    500: '#9db028',
    950: '#000000',
  },
}
SCSS
$custom: #9db028;
$custom-light: #bec76e;
$custom-dark: #000000;
JSON
{
  "hex": "#9db028",
  "rgb": {
    "r": 157,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 68.382,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71861,
    "c": 0.15376,
    "h": 117.6
  },
  "luminance": 0.38372
}

Semantic roles & 50–950 ramp

primary
#9DB028
secondary
#7A6DC6
accent
#42E659
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DB028

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

Preview Lab → · Contrast checker → · Palette generator →

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