#B7CA48#B7CA48

#B7CA48 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.0% C 0.154 H 117.1°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B7CA48
RGBrgb(183, 202, 72)
HSLhsl(69, 55%, 54%)
HSVhsv(69, 64%, 79%)
CMYKcmyk(9.4%, 0%, 64.4%, 20.8%)
CIE-LABlab(77.74, -23.77, 60.41)
CIE-LCHlch(77.74, 64.92, 111.48°)
OKLaboklab(80% -0.0702 0.1371)
OKLCHoklch(80% 0.154 117.1)
XYZxyz(41.8195, 52.7767, 14.1135)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA48 #5B48CA
analogous
#CA9C48 #B7CA48 #76CA48
triadic
#B7CA48 #48B7CA #CA48B7
tetradic
#B7CA48 #48CA9C #5B48CA #CA4876
square
#B7CA48 #48CA9C #5B48CA #CA4876
split-complementary
#B7CA48 #4876CA #9C48CA
monochromatic
#697622 #94A530 #B7CA48 #CAD877 #DCE5A7

Accessibility & contrast

On white

1.82
#B7CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#B7CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA48
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA48#FFFFFF#000000##000000
##B7CA481.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#D5C151
Tritanopia (blue-blind)
#C2BFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca48;
/* rgb */ color: rgb(183, 202, 72);
/* oklch */ color: oklch(80.0% 0.154 117.1);
Tailwind
colors: {
  custom: {
    50: '#cfda81',
    500: '#b7ca48',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca48;
$custom-light: #cfda81;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca48",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 68.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79995,
    "c": 0.15406,
    "h": 117.1
  },
  "luminance": 0.52776
}

Semantic roles & 50–950 ramp

primary
#B7CA48
secondary
#42387E
accent
#49DE5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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