#B9D028#B9D028

#B9D028 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.3% C 0.179 H 117.7°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#B9D028
RGBrgb(185, 208, 40)
HSLhsl(68, 68%, 49%)
HSVhsv(68, 81%, 82%)
CMYKcmyk(11.1%, 0%, 80.8%, 18.4%)
CIE-LABlab(79.37, -27.41, 72.80)
CIE-LCHlch(79.37, 77.79, 110.63°)
OKLaboklab(81.28% -0.0831 0.1581)
OKLCHoklch(81.28% 0.179 117.7)
XYZxyz(42.9476, 55.5797, 10.4726)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D028 #3F28D0
analogous
#D09328 #B9D028 #65D028
triadic
#B9D028 #28B9D0 #D028B9
tetradic
#B9D028 #28D093 #3F28D0 #D02865
square
#B9D028 #28D093 #3F28D0 #D02865
split-complementary
#B9D028 #2865D0 #9328D0
monochromatic
#5E6914 #8B9D1E #B9D028 #CCDF57 #DCE88A

Accessibility & contrast

On white

1.73
#B9D028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#B9D028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D028
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D028#FFFFFF#000000##000000
##B9D0281.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DCC53A
Tritanopia (blue-blind)
#C5C4B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b9d028;
/* rgb */ color: rgb(185, 208, 40);
/* oklch */ color: oklch(81.3% 0.179 117.7);
Tailwind
colors: {
  custom: {
    50: '#d2de72',
    500: '#b9d028',
    950: '#000000',
  },
}
SCSS
$custom: #b9d028;
$custom-light: #d2de72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d028",
  "rgb": {
    "r": 185,
    "g": 208,
    "b": 40
  },
  "hsl": {
    "h": 68.214,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81284,
    "c": 0.17858,
    "h": 117.7
  },
  "luminance": 0.55579
}

Semantic roles & 50–950 ramp

primary
#B9D028
secondary
#332973
accent
#3DEB55
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9D028

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

Preview Lab → · Contrast checker → · Palette generator →

#B9D028 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva