#B8CD3A#B8CD3A

#B8CD3A is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.6% C 0.167 H 117.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#B8CD3A
RGBrgb(184, 205, 58)
HSLhsl(69, 60%, 52%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(10.2%, 0%, 71.7%, 19.6%)
CIE-LABlab(78.55, -25.63, 66.54)
CIE-LCHlch(78.55, 71.31, 111.06°)
OKLaboklab(80.64% -0.0767 0.1478)
OKLCHoklch(80.64% 0.167 117.4)
XYZxyz(42.3632, 54.1589, 12.2242)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CD3A #4F3ACD
analogous
#CD983A #B8CD3A #6FCD3A
triadic
#B8CD3A #3AB8CD #CD3AB8
tetradic
#B8CD3A #3ACD98 #4F3ACD #CD3A6F
square
#B8CD3A #3ACD98 #4F3ACD #CD3A6F
split-complementary
#B8CD3A #3A6FCD #983ACD
monochromatic
#64701C #90A129 #B8CD3A #CAD96B #DBE69C

Accessibility & contrast

On white

1.77
#B8CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#B8CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CD3A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CD3A#FFFFFF#000000##000000
##B8CD3A1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21E
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#C3C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cd3a;
/* rgb */ color: rgb(184, 205, 58);
/* oklch */ color: oklch(80.6% 0.167 117.4);
Tailwind
colors: {
  custom: {
    50: '#d1dc7a',
    500: '#b8cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8cd3a;
$custom-light: #d1dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cd3a",
  "rgb": {
    "r": 184,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 68.571,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80635,
    "c": 0.16657,
    "h": 117.4
  },
  "luminance": 0.54158
}

Semantic roles & 50–950 ramp

primary
#B8CD3A
secondary
#3C3279
accent
#45E35C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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