#B9D040#B9D040

#B9D040 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.4% C 0.166 H 118.1°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#B9D040
RGBrgb(185, 208, 64)
HSLhsl(70, 61%, 53%)
HSVhsv(70, 69%, 82%)
CMYKcmyk(11.1%, 0%, 69.2%, 18.4%)
CIE-LABlab(79.50, -26.34, 65.35)
CIE-LCHlch(79.50, 70.46, 111.95°)
OKLaboklab(81.42% -0.0782 0.1463)
OKLCHoklch(81.42% 0.166 118.1)
XYZxyz(43.4898, 55.7966, 13.3283)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D040 #5740D0
analogous
#D09F40 #B9D040 #71D040
triadic
#B9D040 #40B9D0 #D040B9
tetradic
#B9D040 #40D09F #5740D0 #D04071
square
#B9D040 #40D09F #5740D0 #D04071
split-complementary
#B9D040 #4071D0 #9F40D0
monochromatic
#6A781E #95A92A #B9D040 #CBDC71 #DDE8A2

Accessibility & contrast

On white

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

On black

12.16
#B9D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D040
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D040#FFFFFF#000000##000000
##B9D0401.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DBC64B
Tritanopia (blue-blind)
#C4C5B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b9d040;
/* rgb */ color: rgb(185, 208, 64);
/* oklch */ color: oklch(81.4% 0.166 118.1);
Tailwind
colors: {
  custom: {
    50: '#d1de7d',
    500: '#b9d040',
    950: '#000000',
  },
}
SCSS
$custom: #b9d040;
$custom-light: #d1de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d040",
  "rgb": {
    "r": 185,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 69.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.16588,
    "h": 118.1
  },
  "luminance": 0.55796
}

Semantic roles & 50–950 ramp

primary
#B9D040
secondary
#403480
accent
#44E45E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9D040

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

Preview Lab → · Contrast checker → · Palette generator →

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