#B7CB48#B7CB48

#B7CB48 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.2% C 0.155 H 117.5°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#B7CB48
RGBrgb(183, 203, 72)
HSLhsl(69, 56%, 54%)
HSVhsv(69, 65%, 80%)
CMYKcmyk(9.9%, 0%, 64.5%, 20.4%)
CIE-LABlab(78.02, -24.26, 60.70)
CIE-LCHlch(78.02, 65.37, 111.78°)
OKLaboklab(80.22% -0.0716 0.1377)
OKLCHoklch(80.22% 0.155 117.5)
XYZxyz(42.0549, 53.2475, 14.1920)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB48 #5C48CB
analogous
#CB9E48 #B7CB48 #76CB48
triadic
#B7CB48 #48B7CB #CB48B7
tetradic
#B7CB48 #48CB9E #5C48CB #CB4876
square
#B7CB48 #48CB9E #5C48CB #CB4876
split-complementary
#B7CB48 #4876CB #9E48CB
monochromatic
#6A7722 #94A62F #B7CB48 #CAD978 #DDE6A7

Accessibility & contrast

On white

1.80
#B7CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#B7CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB48
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB48#FFFFFF#000000##000000
##B7CB481.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C137
Deuteranopia (green-blind)
#D6C251
Tritanopia (blue-blind)
#C2C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cb48;
/* rgb */ color: rgb(183, 203, 72);
/* oklch */ color: oklch(80.2% 0.155 117.5);
Tailwind
colors: {
  custom: {
    50: '#cfda81',
    500: '#b7cb48',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb48;
$custom-light: #cfda81;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb48",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 69.16,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80219,
    "c": 0.15522,
    "h": 117.5
  },
  "luminance": 0.53247
}

Semantic roles & 50–950 ramp

primary
#B7CB48
secondary
#43387F
accent
#49DF60
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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