#B7CD48#B7CD48

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

Color values

HEX#B7CD48
RGBrgb(183, 205, 72)
HSLhsl(70, 57%, 54%)
HSVhsv(70, 65%, 80%)
CMYKcmyk(10.7%, 0%, 64.9%, 19.6%)
CIE-LABlab(78.58, -25.23, 61.28)
CIE-LCHlch(78.58, 66.27, 112.37°)
OKLaboklab(80.66% -0.0743 0.139)
OKLCHoklch(80.66% 0.158 118.1)
XYZxyz(42.5303, 54.1982, 14.3504)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD48 #5E48CD
analogous
#CDA148 #B7CD48 #75CD48
triadic
#B7CD48 #48B7CD #CD48B7
tetradic
#B7CD48 #48CDA1 #5E48CD #CD4875
square
#B7CD48 #48CDA1 #5E48CD #CD4875
split-complementary
#B7CD48 #4875CD #A148CD
monochromatic
#6B7921 #95A92E #B7CD48 #CADA78 #DDE7A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CD48#FFFFFF#000000##000000
##B7CD481.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)
#DAC236
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#C1C2B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cd48;
/* rgb */ color: rgb(183, 205, 72);
/* oklch */ color: oklch(80.7% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#d0dc82',
    500: '#b7cd48',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd48;
$custom-light: #d0dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd48",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 69.925,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80665,
    "c": 0.15757,
    "h": 118.1
  },
  "luminance": 0.54198
}

Semantic roles & 50–950 ramp

primary
#B7CD48
secondary
#443882
accent
#47E061
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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