#B8CA5D#B8CA5D

#B8CA5D is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.3% C 0.136 H 117.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#B8CA5D
RGBrgb(184, 202, 93)
HSLhsl(70, 51%, 58%)
HSVhsv(70, 54%, 79%)
CMYKcmyk(8.9%, 0%, 54%, 20.8%)
CIE-LABlab(78.01, -21.77, 51.57)
CIE-LCHlch(78.01, 55.97, 112.88°)
OKLaboklab(80.29% -0.0626 0.1208)
OKLCHoklch(80.29% 0.136 117.4)
XYZxyz(42.8641, 53.2221, 18.3686)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA5D #6F5DCA
analogous
#CAA55D #B8CA5D #81CA5D
triadic
#B8CA5D #5DB8CA #CA5DB8
tetradic
#B8CA5D #5DCAA5 #6F5DCA #CA5D81
square
#B8CA5D #5DCAA5 #6F5DCA #CA5D81
split-complementary
#B8CA5D #5D81CA #A55DCA
monochromatic
#74822B #9DB03A #B8CA5D #CCD98B #E0E8B9

Accessibility & contrast

On white

1.80
#B8CA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#B8CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA5D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA5D#FFFFFF#000000##000000
##B8CA5D1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C052
Deuteranopia (green-blind)
#D4C263
Tritanopia (blue-blind)
#C2C0B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8ca5d;
/* rgb */ color: rgb(184, 202, 93);
/* oklch */ color: oklch(80.3% 0.136 117.4);
Tailwind
colors: {
  custom: {
    50: '#cfda8e',
    500: '#b8ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca5d;
$custom-light: #cfda8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca5d",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 69.908,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80286,
    "c": 0.13608,
    "h": 117.4
  },
  "luminance": 0.53222
}

Semantic roles & 50–950 ramp

primary
#B8CA5D
secondary
#4D428A
accent
#4EDA65
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B8CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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