#B7CA27#B7CA27

#B7CA27 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#B7CA27
RGBrgb(183, 202, 39)
HSLhsl(67, 68%, 47%)
HSVhsv(67, 81%, 79%)
CMYKcmyk(9.4%, 0%, 80.7%, 20.8%)
CIE-LABlab(77.55, -25.40, 71.41)
CIE-LCHlch(77.55, 75.80, 109.58°)
OKLaboklab(79.78% -0.0775 0.155)
OKLCHoklch(79.78% 0.173 116.6)
XYZxyz(41.0163, 52.4554, 9.8833)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA27 #3A27CA
analogous
#CA8C27 #B7CA27 #65CA27
triadic
#B7CA27 #27B7CA #CA27B7
tetradic
#B7CA27 #27CA8C #3A27CA #CA2765
square
#B7CA27 #27CA8C #3A27CA #CA2765
split-complementary
#B7CA27 #2765CA #8C27CA
monochromatic
#5A6313 #89971D #B7CA27 #CDDD51 #DCE784

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CA27#FFFFFF#000000##000000
##B7CA271.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)
#D7C138
Tritanopia (blue-blind)
#C3BEAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca27;
/* rgb */ color: rgb(183, 202, 39);
/* oklch */ color: oklch(79.8% 0.173 116.6);
Tailwind
colors: {
  custom: {
    50: '#d1da71',
    500: '#b7ca27',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca27;
$custom-light: #d1da71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca27",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 39
  },
  "hsl": {
    "h": 66.994,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.79781,
    "c": 0.17332,
    "h": 116.6
  },
  "luminance": 0.52455
}

Semantic roles & 50–950 ramp

primary
#B7CA27
secondary
#30276E
accent
#3DEB51
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B7CA27

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

Preview Lab → · Contrast checker → · Palette generator →

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