#B7C528#B7C528

#B7C528 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.168 H 115.0°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#B7C528
RGBrgb(183, 197, 40)
HSLhsl(65, 66%, 46%)
HSVhsv(65, 80%, 77%)
CMYKcmyk(7.1%, 0%, 79.7%, 22.7%)
CIE-LABlab(76.16, -22.94, 69.93)
CIE-LCHlch(76.16, 73.59, 108.16°)
OKLaboklab(78.67% -0.0707 0.152)
OKLCHoklch(78.67% 0.168 115)
XYZxyz(39.8789, 50.1537, 9.5869)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C528 #3628C5
analogous
#C58528 #B7C528 #69C528
triadic
#B7C528 #28B7C5 #C528B7
tetradic
#B7C528 #28C585 #3628C5 #C52869
square
#B7C528 #28C585 #3628C5 #C52869
split-complementary
#B7C528 #2869C5 #8528C5
monochromatic
#585F13 #88921E #B7C528 #CFDB4F #DDE682

Accessibility & contrast

On white

1.90
#B7C528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#B7C528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C528
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C528#FFFFFF#000000##000000
##B7C5281.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD38
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c528;
/* rgb */ color: rgb(183, 197, 40);
/* oklch */ color: oklch(78.7% 0.168 115.0);
Tailwind
colors: {
  custom: {
    50: '#d1d671',
    500: '#b7c528',
    950: '#000000',
  },
}
SCSS
$custom: #b7c528;
$custom-light: #d1d671;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c528",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 65.35,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78667,
    "c": 0.16762,
    "h": 115
  },
  "luminance": 0.50153
}

Semantic roles & 50–950 ramp

primary
#B7C528
secondary
#2D276A
accent
#3FE94E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C528

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

Preview Lab → · Contrast checker → · Palette generator →

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