#B9C852#B9C852

#B9C852 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.143 H 115.8°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#B9C852
RGBrgb(185, 200, 82)
HSLhsl(68, 52%, 55%)
HSVhsv(68, 59%, 78%)
CMYKcmyk(7.5%, 0%, 59%, 21.6%)
CIE-LABlab(77.42, -21.27, 55.88)
CIE-LCHlch(77.42, 59.79, 110.84°)
OKLaboklab(79.8% -0.0623 0.1288)
OKLCHoklch(79.8% 0.143 115.8)
XYZxyz(42.1857, 52.2326, 15.8406)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C852 #6152C8
analogous
#C89C52 #B9C852 #7EC852
triadic
#B9C852 #52B9C8 #C852B9
tetradic
#B9C852 #52C89C #6152C8 #C8527E
square
#B9C852 #52C89C #6152C8 #C8527E
split-complementary
#B9C852 #527EC8 #9C52C8
monochromatic
#6F7927 #99A835 #B9C852 #CCD780 #DFE6AF

Accessibility & contrast

On white

1.83
#B9C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#B9C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C852
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C852#FFFFFF#000000##000000
##B9C8521.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#C4BEAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c852;
/* rgb */ color: rgb(185, 200, 82);
/* oklch */ color: oklch(79.8% 0.143 115.8);
Tailwind
colors: {
  custom: {
    50: '#d0d887',
    500: '#b9c852',
    950: '#000000',
  },
}
SCSS
$custom: #b9c852;
$custom-light: #d0d887;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c852",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 67.627,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.798,
    "c": 0.14312,
    "h": 115.8
  },
  "luminance": 0.52232
}

Semantic roles & 50–950 ramp

primary
#B9C852
secondary
#453D82
accent
#4DDB5F
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B9C852

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

Preview Lab → · Contrast checker → · Palette generator →

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