#B8CA54#B8CA54

#B8CA54 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.2% C 0.144 H 117.1°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#B8CA54
RGBrgb(184, 202, 84)
HSLhsl(69, 53%, 56%)
HSVhsv(69, 58%, 79%)
CMYKcmyk(8.9%, 0%, 58.4%, 20.8%)
CIE-LABlab(77.92, -22.51, 55.53)
CIE-LCHlch(77.92, 59.92, 112.06°)
OKLaboklab(80.19% -0.0655 0.1284)
OKLCHoklch(80.19% 0.144 117.1)
XYZxyz(42.4887, 53.0719, 16.3914)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA54 #6654CA
analogous
#CAA154 #B8CA54 #7DCA54
triadic
#B8CA54 #54B8CA #CA54B8
tetradic
#B8CA54 #54CAA1 #6654CA #CA547D
square
#B8CA54 #54CAA1 #6654CA #CA547D
split-complementary
#B8CA54 #547DCA #A154CA
monochromatic
#707D27 #9AAC35 #B8CA54 #CBD883 #DFE7B1

Accessibility & contrast

On white

1.81
#B8CA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#B8CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA54
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA54#FFFFFF#000000##000000
##B8CA541.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C047
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#C2C0B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8ca54;
/* rgb */ color: rgb(184, 202, 84);
/* oklch */ color: oklch(80.2% 0.144 117.1);
Tailwind
colors: {
  custom: {
    50: '#d0da88',
    500: '#b8ca54',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca54;
$custom-light: #d0da88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca54",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 69.153,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80186,
    "c": 0.14412,
    "h": 117.1
  },
  "luminance": 0.53071
}

Semantic roles & 50–950 ramp

primary
#B8CA54
secondary
#483D85
accent
#4CDC62
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B8CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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