#B7C752#B7C752

#B7C752 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.4% C 0.143 H 116.3°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#B7C752
RGBrgb(183, 199, 82)
HSLhsl(68, 51%, 55%)
HSVhsv(68, 59%, 78%)
CMYKcmyk(8%, 0%, 58.8%, 22%)
CIE-LABlab(77.00, -21.60, 55.37)
CIE-LCHlch(77.00, 59.43, 111.31°)
OKLaboklab(79.42% -0.0631 0.1278)
OKLCHoklch(79.42% 0.143 116.3)
XYZxyz(41.4756, 51.5238, 15.7412)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C752 #6252C7
analogous
#C79C52 #B7C752 #7DC752
triadic
#B7C752 #52B7C7 #C752B7
tetradic
#B7C752 #52C79C #6252C7 #C7527D
square
#B7C752 #52C79C #6252C7 #C7527D
split-complementary
#B7C752 #527DC7 #9C52C7
monochromatic
#6D7827 #97A636 #B7C752 #CAD680 #DDE5AE

Accessibility & contrast

On white

1.86
#B7C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#B7C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C752
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C752#FFFFFF#000000##000000
##B7C7521.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD45
Deuteranopia (green-blind)
#D2BF59
Tritanopia (blue-blind)
#C1BDAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c752;
/* rgb */ color: rgb(183, 199, 82);
/* oklch */ color: oklch(79.4% 0.143 116.3);
Tailwind
colors: {
  custom: {
    50: '#cfd787',
    500: '#b7c752',
    950: '#000000',
  },
}
SCSS
$custom: #b7c752;
$custom-light: #cfd787;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c752",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 68.205,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79423,
    "c": 0.14252,
    "h": 116.3
  },
  "luminance": 0.51523
}

Semantic roles & 50–950 ramp

primary
#B7C752
secondary
#463D80
accent
#4DDB61
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B7C752

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

Preview Lab → · Contrast checker → · Palette generator →

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