#B4C748#B4C748

#B4C748 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.152 H 117.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#B4C748
RGBrgb(180, 199, 72)
HSLhsl(69, 53%, 53%)
HSVhsv(69, 64%, 78%)
CMYKcmyk(9.5%, 0%, 63.8%, 22%)
CIE-LABlab(76.69, -23.54, 59.23)
CIE-LCHlch(76.69, 63.74, 111.67°)
OKLaboklab(79.1% -0.0694 0.1347)
OKLCHoklch(79.1% 0.152 117.2)
XYZxyz(40.4163, 51.0185, 13.8481)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C748 #5B48C7
analogous
#C79A48 #B4C748 #75C748
triadic
#B4C748 #48B4C7 #C748B4
tetradic
#B4C748 #48C79A #5B48C7 #C74875
square
#B4C748 #48C79A #5B48C7 #C74875
split-complementary
#B4C748 #4875C7 #9A48C7
monochromatic
#667223 #90A131 #B4C748 #C7D577 #DAE4A6

Accessibility & contrast

On white

1.87
#B4C748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#B4C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C748
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C748#FFFFFF#000000##000000
##B4C7481.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D2BE51
Tritanopia (blue-blind)
#BEBCAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c748;
/* rgb */ color: rgb(180, 199, 72);
/* oklch */ color: oklch(79.1% 0.152 117.2);
Tailwind
colors: {
  custom: {
    50: '#cdd881',
    500: '#b4c748',
    950: '#000000',
  },
}
SCSS
$custom: #b4c748;
$custom-light: #cdd881;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c748",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 68.976,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79096,
    "c": 0.15153,
    "h": 117.2
  },
  "luminance": 0.51018
}

Semantic roles & 50–950 ramp

primary
#B4C748
secondary
#42387B
accent
#4BDD61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C748

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

Preview Lab → · Contrast checker → · Palette generator →

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