#B7C852#B7C852

#B7C852 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.144 H 116.7°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#B7C852
RGBrgb(183, 200, 82)
HSLhsl(69, 52%, 55%)
HSVhsv(69, 59%, 78%)
CMYKcmyk(8.5%, 0%, 59%, 21.6%)
CIE-LABlab(77.27, -22.09, 55.68)
CIE-LCHlch(77.27, 59.90, 111.64°)
OKLaboklab(79.65% -0.0645 0.1284)
OKLCHoklch(79.65% 0.144 116.7)
XYZxyz(41.7065, 51.9855, 15.8181)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C852 #6352C8
analogous
#C89E52 #B7C852 #7CC852
triadic
#B7C852 #52B7C8 #C852B7
tetradic
#B7C852 #52C89E #6352C8 #C8527C
square
#B7C852 #52C89E #6352C8 #C8527C
split-complementary
#B7C852 #527CC8 #9E52C8
monochromatic
#6D7927 #97A835 #B7C852 #CAD780 #DEE6AF

Accessibility & contrast

On white

1.84
#B7C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#B7C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C852
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C852#FFFFFF#000000##000000
##B7C8521.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#C1BEAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c852;
/* rgb */ color: rgb(183, 200, 82);
/* oklch */ color: oklch(79.6% 0.144 116.7);
Tailwind
colors: {
  custom: {
    50: '#cfd887',
    500: '#b7c852',
    950: '#000000',
  },
}
SCSS
$custom: #b7c852;
$custom-light: #cfd887;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c852",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 68.644,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79645,
    "c": 0.14372,
    "h": 116.7
  },
  "luminance": 0.51985
}

Semantic roles & 50–950 ramp

primary
#B7C852
secondary
#473D82
accent
#4DDB61
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B7C852

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

Preview Lab → · Contrast checker → · Palette generator →

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