#B9C54E#B9C54E

#B9C54E is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.1% C 0.143 H 114.6°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#B9C54E
RGBrgb(185, 197, 78)
HSLhsl(66, 51%, 54%)
HSVhsv(66, 60%, 77%)
CMYKcmyk(6.1%, 0%, 60.4%, 22.7%)
CIE-LABlab(76.56, -20.09, 56.67)
CIE-LCHlch(76.56, 60.13, 109.52°)
OKLaboklab(79.1% -0.0594 0.13)
OKLCHoklch(79.1% 0.143 114.6)
XYZxyz(41.3499, 50.7975, 14.8329)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C54E #5A4EC5
analogous
#C5964E #B9C54E #7EC54E
triadic
#B9C54E #4EB9C5 #C54EB9
tetradic
#B9C54E #4EC596 #5A4EC5 #C54E7E
square
#B9C54E #4EC596 #5A4EC5 #C54E7E
split-complementary
#B9C54E #4E7EC5 #964EC5
monochromatic
#6B7326 #96A135 #B9C54E #CBD47C #DDE3AA

Accessibility & contrast

On white

1.88
#B9C54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#B9C54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C54E
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C54E#FFFFFF#000000##000000
##B9C54E1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC40
Deuteranopia (green-blind)
#D2BE56
Tritanopia (blue-blind)
#C4BAAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b9c54e;
/* rgb */ color: rgb(185, 197, 78);
/* oklch */ color: oklch(79.1% 0.143 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d684',
    500: '#b9c54e',
    950: '#000000',
  },
}
SCSS
$custom: #b9c54e;
$custom-light: #d1d684;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c54e",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 66.05,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79097,
    "c": 0.14293,
    "h": 114.6
  },
  "luminance": 0.50797
}

Semantic roles & 50–950 ramp

primary
#B9C54E
secondary
#423B7C
accent
#4EDA5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9C54E

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

Preview Lab → · Contrast checker → · Palette generator →

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