#B9CD52#B9CD52

#B9CD52 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 80.9% C 0.149 H 117.7°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#B9CD52
RGBrgb(185, 205, 82)
HSLhsl(70, 55%, 56%)
HSVhsv(70, 60%, 80%)
CMYKcmyk(9.8%, 0%, 60%, 19.6%)
CIE-LABlab(78.80, -23.72, 57.40)
CIE-LCHlch(78.80, 62.11, 112.45°)
OKLaboklab(80.91% -0.0692 0.1321)
OKLCHoklch(80.91% 0.149 117.7)
XYZxyz(43.3626, 54.5865, 16.2329)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD52 #6652CD
analogous
#CDA452 #B9CD52 #7CCD52
triadic
#B9CD52 #52B9CD #CD52B9
tetradic
#B9CD52 #52CDA4 #6652CD #CD527C
square
#B9CD52 #52CDA4 #6652CD #CD527C
split-complementary
#B9CD52 #527CCD #A452CD
monochromatic
#718025 #9BAF33 #B9CD52 #CCDB81 #DFE8B1

Accessibility & contrast

On white

1.76
#B9CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#B9CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD52
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD52#FFFFFF#000000##000000
##B9CD521.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#C3C3B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9cd52;
/* rgb */ color: rgb(185, 205, 82);
/* oklch */ color: oklch(80.9% 0.149 117.7);
Tailwind
colors: {
  custom: {
    50: '#d1dc87',
    500: '#b9cd52',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd52;
$custom-light: #d1dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd52",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 69.756,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80909,
    "c": 0.1491,
    "h": 117.7
  },
  "luminance": 0.54586
}

Semantic roles & 50–950 ramp

primary
#B9CD52
secondary
#483C87
accent
#49DE62
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B9CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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