#B7CA28#B7CA28

#B7CA28 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.173 H 116.6°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#B7CA28
RGBrgb(183, 202, 40)
HSLhsl(67, 67%, 47%)
HSVhsv(67, 80%, 79%)
CMYKcmyk(9.4%, 0%, 80.2%, 20.8%)
CIE-LABlab(77.56, -25.37, 71.15)
CIE-LCHlch(77.56, 75.54, 109.62°)
OKLaboklab(79.79% -0.0774 0.1546)
OKLCHoklch(79.79% 0.173 116.6)
XYZxyz(41.0331, 52.4621, 9.9717)
Luminance0.5246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA28 #3B28CA
analogous
#CA8C28 #B7CA28 #66CA28
triadic
#B7CA28 #28B7CA #CA28B7
tetradic
#B7CA28 #28CA8C #3B28CA #CA2866
square
#B7CA28 #28CA8C #3B28CA #CA2866
split-complementary
#B7CA28 #2866CA #8C28CA
monochromatic
#5A6414 #89971E #B7CA28 #CDDD52 #DCE785

Accessibility & contrast

On white

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

On black

11.49
#B7CA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA28
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA28#FFFFFF#000000##000000
##B7CA281.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D7C139
Tritanopia (blue-blind)
#C3BEAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca28;
/* rgb */ color: rgb(183, 202, 40);
/* oklch */ color: oklch(79.8% 0.173 116.6);
Tailwind
colors: {
  custom: {
    50: '#d1da72',
    500: '#b7ca28',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca28;
$custom-light: #d1da72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca28",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 40
  },
  "hsl": {
    "h": 67.037,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79786,
    "c": 0.1729,
    "h": 116.6
  },
  "luminance": 0.52462
}

Semantic roles & 50–950 ramp

primary
#B7CA28
secondary
#30286E
accent
#3EEA52
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B7CA28

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

Preview Lab → · Contrast checker → · Palette generator →

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