#B8CD40#B8CD40

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

Color values

HEX#B8CD40
RGBrgb(184, 205, 64)
HSLhsl(69, 59%, 53%)
HSVhsv(69, 69%, 80%)
CMYKcmyk(10.2%, 0%, 68.8%, 19.6%)
CIE-LABlab(78.59, -25.31, 64.42)
CIE-LCHlch(78.59, 69.21, 111.45°)
OKLaboklab(80.68% -0.0753 0.1443)
OKLCHoklch(80.68% 0.163 117.6)
XYZxyz(42.5248, 54.2236, 13.0755)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CD40 #5540CD
analogous
#CD9B40 #B8CD40 #72CD40
triadic
#B8CD40 #40B8CD #CD40B8
tetradic
#B8CD40 #40CD9B #5540CD #CD4072
square
#B8CD40 #40CD9B #5540CD #CD4072
split-complementary
#B8CD40 #4072CD #9B40CD
monochromatic
#67741E #93A52B #B8CD40 #CADA71 #DCE6A1

Accessibility & contrast

On white

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

On black

11.84
#B8CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CD40
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CD40#FFFFFF#000000##000000
##B8CD401.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8cd40;
/* rgb */ color: rgb(184, 205, 64);
/* oklch */ color: oklch(80.7% 0.163 117.6);
Tailwind
colors: {
  custom: {
    50: '#d1dc7d',
    500: '#b8cd40',
    950: '#000000',
  },
}
SCSS
$custom: #b8cd40;
$custom-light: #d1dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cd40",
  "rgb": {
    "r": 184,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 68.936,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80677,
    "c": 0.16281,
    "h": 117.6
  },
  "luminance": 0.54223
}

Semantic roles & 50–950 ramp

primary
#B8CD40
secondary
#3F347D
accent
#46E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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