#B7C628#B7C628

#B7C628 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.9% C 0.169 H 115.3°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#B7C628
RGBrgb(183, 198, 40)
HSLhsl(66, 66%, 47%)
HSVhsv(66, 80%, 78%)
CMYKcmyk(7.6%, 0%, 79.8%, 22.4%)
CIE-LABlab(76.44, -23.43, 70.17)
CIE-LCHlch(76.44, 73.98, 108.46°)
OKLaboklab(78.89% -0.072 0.1525)
OKLCHoklch(78.89% 0.169 115.3)
XYZxyz(40.1067, 50.6093, 9.6629)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C628 #3728C6
analogous
#C68628 #B7C628 #68C628
triadic
#B7C628 #28B7C6 #C628B7
tetradic
#B7C628 #28C686 #3728C6 #C62868
square
#B7C628 #28C686 #3728C6 #C62868
split-complementary
#B7C628 #2868C6 #8628C6
monochromatic
#596013 #88931E #B7C628 #CEDC50 #DCE683

Accessibility & contrast

On white

1.89
#B7C628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#B7C628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C628
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C628#FFFFFF#000000##000000
##B7C6281.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#C3BAA9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b7c628;
/* rgb */ color: rgb(183, 198, 40);
/* oklch */ color: oklch(78.9% 0.169 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d771',
    500: '#b7c628',
    950: '#000000',
  },
}
SCSS
$custom: #b7c628;
$custom-light: #d1d771;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c628",
  "rgb": {
    "r": 183,
    "g": 198,
    "b": 40
  },
  "hsl": {
    "h": 65.696,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7889,
    "c": 0.16866,
    "h": 115.3
  },
  "luminance": 0.50609
}

Semantic roles & 50–950 ramp

primary
#B7C628
secondary
#2E276B
accent
#3EE94F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C628

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

Preview Lab → · Contrast checker → · Palette generator →

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