#B9CD48#B9CD48

#B9CD48 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.8% C 0.157 H 117.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#B9CD48
RGBrgb(185, 205, 72)
HSLhsl(69, 57%, 54%)
HSVhsv(69, 65%, 80%)
CMYKcmyk(9.8%, 0%, 64.9%, 19.6%)
CIE-LABlab(78.72, -24.41, 61.48)
CIE-LCHlch(78.72, 66.15, 111.66°)
OKLaboklab(80.82% -0.0721 0.1393)
OKLCHoklch(80.82% 0.157 117.4)
XYZxyz(43.0095, 54.4453, 14.3729)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD48 #5C48CD
analogous
#CD9F48 #B9CD48 #76CD48
triadic
#B9CD48 #48B9CD #CD48B9
tetradic
#B9CD48 #48CD9F #5C48CD #CD4876
square
#B9CD48 #48CD9F #5C48CD #CD4876
split-complementary
#B9CD48 #4876CD #9F48CD
monochromatic
#6C7921 #97A92E #B9CD48 #CBDA78 #DEE7A8

Accessibility & contrast

On white

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

On black

11.89
#B9CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD48
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD48#FFFFFF#000000##000000
##B9CD481.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9cd48;
/* rgb */ color: rgb(185, 205, 72);
/* oklch */ color: oklch(80.8% 0.157 117.4);
Tailwind
colors: {
  custom: {
    50: '#d1dc82',
    500: '#b9cd48',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd48;
$custom-light: #d1dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd48",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 69.023,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80817,
    "c": 0.15689,
    "h": 117.4
  },
  "luminance": 0.54445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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