#B4C848#B4C848

#B4C848 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.153 H 117.6°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#B4C848
RGBrgb(180, 200, 72)
HSLhsl(69, 54%, 53%)
HSVhsv(69, 64%, 78%)
CMYKcmyk(10%, 0%, 64%, 21.6%)
CIE-LABlab(76.97, -24.02, 59.53)
CIE-LCHlch(76.97, 64.19, 111.98°)
OKLaboklab(79.32% -0.0707 0.1353)
OKLCHoklch(79.32% 0.153 117.6)
XYZxyz(40.6472, 51.4801, 13.9250)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C848 #5C48C8
analogous
#C89C48 #B4C848 #74C848
triadic
#B4C848 #48B4C8 #C848B4
tetradic
#B4C848 #48C89C #5C48C8 #C84874
square
#B4C848 #48C89C #5C48C8 #C84874
split-complementary
#B4C848 #4874C8 #9C48C8
monochromatic
#667323 #90A231 #B4C848 #C7D677 #DBE4A6

Accessibility & contrast

On white

1.86
#B4C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#B4C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C848
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C848#FFFFFF#000000##000000
##B4C8481.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE37
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#BEBDAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c848;
/* rgb */ color: rgb(180, 200, 72);
/* oklch */ color: oklch(79.3% 0.153 117.6);
Tailwind
colors: {
  custom: {
    50: '#cdd881',
    500: '#b4c848',
    950: '#000000',
  },
}
SCSS
$custom: #b4c848;
$custom-light: #cdd881;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c848",
  "rgb": {
    "r": 180,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 69.375,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7932,
    "c": 0.1527,
    "h": 117.6
  },
  "luminance": 0.5148
}

Semantic roles & 50–950 ramp

primary
#B4C848
secondary
#43387C
accent
#4BDD62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C848

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

Preview Lab → · Contrast checker → · Palette generator →

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