#B9CC52#B9CC52

#B9CC52 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.7% C 0.148 H 117.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#B9CC52
RGBrgb(185, 204, 82)
HSLhsl(69, 54%, 56%)
HSVhsv(69, 60%, 80%)
CMYKcmyk(9.3%, 0%, 59.8%, 20%)
CIE-LABlab(78.53, -23.23, 57.10)
CIE-LCHlch(78.53, 61.64, 112.14°)
OKLaboklab(80.69% -0.0678 0.1314)
OKLCHoklch(80.69% 0.148 117.3)
XYZxyz(43.1242, 54.1097, 16.1534)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC52 #6552CC
analogous
#CCA252 #B9CC52 #7CCC52
triadic
#B9CC52 #52B9CC #CC52B9
tetradic
#B9CC52 #52CCA2 #6552CC #CC527C
square
#B9CC52 #52CCA2 #6552CC #CC527C
split-complementary
#B9CC52 #527CCC #A252CC
monochromatic
#707E25 #9BAE33 #B9CC52 #CCDA81 #DFE8B1

Accessibility & contrast

On white

1.78
#B9CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#B9CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC52
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC52#FFFFFF#000000##000000
##B9CC521.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#C3C2B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc52;
/* rgb */ color: rgb(185, 204, 82);
/* oklch */ color: oklch(80.7% 0.148 117.3);
Tailwind
colors: {
  custom: {
    50: '#d1db87',
    500: '#b9cc52',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc52;
$custom-light: #d1db87;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc52",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 69.344,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80686,
    "c": 0.14789,
    "h": 117.3
  },
  "luminance": 0.54109
}

Semantic roles & 50–950 ramp

primary
#B9CC52
secondary
#483C86
accent
#4ADE61
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B9CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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