#B7CA15#B7CA15

#B7CA15 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.7% C 0.179 H 116.5°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#B7CA15
RGBrgb(183, 202, 21)
HSLhsl(66, 81%, 44%)
HSVhsv(66, 90%, 79%)
CMYKcmyk(9.4%, 0%, 89.6%, 20.8%)
CIE-LABlab(77.50, -25.88, 75.17)
CIE-LCHlch(77.50, 79.50, 109.00°)
OKLaboklab(79.72% -0.0798 0.1604)
OKLCHoklch(79.72% 0.179 116.5)
XYZxyz(40.7855, 52.3631, 8.6679)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA15 #2815CA
analogous
#CA8215 #B7CA15 #5CCA15
triadic
#B7CA15 #15B7CA #CA15B7
tetradic
#B7CA15 #15CA82 #2815CA #CA155C
square
#B7CA15 #15CA82 #2815CA #CA155C
split-complementary
#B7CA15 #155CCA #8215CA
monochromatic
#535B09 #85930F #B7CA15 #D6EA32 #E1EF6A

Accessibility & contrast

On white

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

On black

11.47
#B7CA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA15
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA15#FFFFFF#000000##000000
##B7CA151.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D7C02E
Tritanopia (blue-blind)
#C3BEAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7ca15;
/* rgb */ color: rgb(183, 202, 21);
/* oklch */ color: oklch(79.7% 0.179 116.5);
Tailwind
colors: {
  custom: {
    50: '#d1da6b',
    500: '#b7ca15',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca15;
$custom-light: #d1da6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca15",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 21
  },
  "hsl": {
    "h": 66.298,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7972,
    "c": 0.1792,
    "h": 116.5
  },
  "luminance": 0.52362
}

Semantic roles & 50–950 ramp

primary
#B7CA15
secondary
#241C67
accent
#30F845
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B7CA15

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

Preview Lab → · Contrast checker → · Palette generator →

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