#B8CD48#B8CD48

#B8CD48 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.7% C 0.157 H 117.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#B8CD48
RGBrgb(184, 205, 72)
HSLhsl(69, 57%, 54%)
HSVhsv(69, 65%, 80%)
CMYKcmyk(10.2%, 0%, 64.9%, 19.6%)
CIE-LABlab(78.65, -24.82, 61.38)
CIE-LCHlch(78.65, 66.21, 112.02°)
OKLaboklab(80.74% -0.0732 0.1392)
OKLCHoklch(80.74% 0.157 117.7)
XYZxyz(42.7690, 54.3213, 14.3616)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CD48 #5D48CD
analogous
#CDA048 #B8CD48 #75CD48
triadic
#B8CD48 #48B8CD #CD48B8
tetradic
#B8CD48 #48CDA0 #5D48CD #CD4875
square
#B8CD48 #48CDA0 #5D48CD #CD4875
split-complementary
#B8CD48 #4875CD #A048CD
monochromatic
#6B7921 #96A92E #B8CD48 #CBDA78 #DDE7A8

Accessibility & contrast

On white

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

On black

11.86
#B8CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CD48
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CD48#FFFFFF#000000##000000
##B8CD481.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#C3C2B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b8cd48;
/* rgb */ color: rgb(184, 205, 72);
/* oklch */ color: oklch(80.7% 0.157 117.7);
Tailwind
colors: {
  custom: {
    50: '#d0dc82',
    500: '#b8cd48',
    950: '#000000',
  },
}
SCSS
$custom: #b8cd48;
$custom-light: #d0dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cd48",
  "rgb": {
    "r": 184,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 69.474,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80741,
    "c": 0.15723,
    "h": 117.7
  },
  "luminance": 0.54321
}

Semantic roles & 50–950 ramp

primary
#B8CD48
secondary
#433882
accent
#47E060
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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