#B8CD42#B8CD42

#B8CD42 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.7% C 0.161 H 117.6°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#B8CD42
RGBrgb(184, 205, 66)
HSLhsl(69, 58%, 53%)
HSVhsv(69, 68%, 80%)
CMYKcmyk(10.2%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.61, -25.19, 63.68)
CIE-LCHlch(78.61, 68.48, 111.58°)
OKLaboklab(80.69% -0.0748 0.1431)
OKLCHoklch(80.69% 0.161 117.6)
XYZxyz(42.5828, 54.2468, 13.3806)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CD42 #5742CD
analogous
#CD9D42 #B8CD42 #72CD42
triadic
#B8CD42 #42B8CD #CD42B8
tetradic
#B8CD42 #42CD9D #5742CD #CD4272
square
#B8CD42 #42CD9D #5742CD #CD4272
split-complementary
#B8CD42 #4272CD #9D42CD
monochromatic
#68761F #93A62C #B8CD42 #CADA72 #DCE7A3

Accessibility & contrast

On white

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

On black

11.85
#B8CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CD42
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CD42#FFFFFF#000000##000000
##B8CD421.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8cd42;
/* rgb */ color: rgb(184, 205, 66);
/* oklch */ color: oklch(80.7% 0.161 117.6);
Tailwind
colors: {
  custom: {
    50: '#d0dc7e',
    500: '#b8cd42',
    950: '#000000',
  },
}
SCSS
$custom: #b8cd42;
$custom-light: #d0dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cd42",
  "rgb": {
    "r": 184,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 69.065,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80692,
    "c": 0.16146,
    "h": 117.6
  },
  "luminance": 0.54246
}

Semantic roles & 50–950 ramp

primary
#B8CD42
secondary
#40357E
accent
#46E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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