#B7CA52#B7CA52

#B7CA52 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.146 H 117.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#B7CA52
RGBrgb(183, 202, 82)
HSLhsl(70, 53%, 56%)
HSVhsv(70, 59%, 79%)
CMYKcmyk(9.4%, 0%, 59.4%, 20.8%)
CIE-LABlab(77.83, -23.07, 56.29)
CIE-LCHlch(77.83, 60.83, 112.28°)
OKLaboklab(80.09% -0.0672 0.1297)
OKLCHoklch(80.09% 0.146 117.4)
XYZxyz(42.1727, 52.9180, 15.9735)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA52 #6552CA
analogous
#CAA152 #B7CA52 #7BCA52
triadic
#B7CA52 #52B7CA #CA52B7
tetradic
#B7CA52 #52CAA1 #6552CA #CA527B
square
#B7CA52 #52CAA1 #6552CA #CA527B
split-complementary
#B7CA52 #527BCA #A152CA
monochromatic
#6E7C26 #98AB34 #B7CA52 #CAD881 #DEE7B0

Accessibility & contrast

On white

1.81
#B7CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#B7CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA52
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA52#FFFFFF#000000##000000
##B7CA521.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#C1C0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca52;
/* rgb */ color: rgb(183, 202, 82);
/* oklch */ color: oklch(80.1% 0.146 117.4);
Tailwind
colors: {
  custom: {
    50: '#cfda87',
    500: '#b7ca52',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca52;
$custom-light: #cfda87;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca52",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 69.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80089,
    "c": 0.14613,
    "h": 117.4
  },
  "luminance": 0.52918
}

Semantic roles & 50–950 ramp

primary
#B7CA52
secondary
#483C84
accent
#4BDD62
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B7CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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