#B4C052#B4C052

#B4C052 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.135 H 114.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B4C052
RGBrgb(180, 192, 82)
HSLhsl(67, 47%, 54%)
HSVhsv(67, 57%, 75%)
CMYKcmyk(6.2%, 0%, 57.3%, 24.7%)
CIE-LABlab(74.83, -19.35, 52.90)
CIE-LCHlch(74.83, 56.32, 110.10°)
OKLaboklab(77.64% -0.0566 0.1226)
OKLCHoklch(77.64% 0.135 114.8)
XYZxyz(39.1958, 48.0124, 15.1835)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C052 #5E52C0
analogous
#C09552 #B4C052 #7DC052
triadic
#B4C052 #52B4C0 #C052B4
tetradic
#B4C052 #52C095 #5E52C0 #C0527D
square
#B4C052 #52C095 #5E52C0 #C0527D
split-complementary
#B4C052 #527DC0 #9552C0
monochromatic
#676F28 #919C39 #B4C052 #C7D07F #DBE1AC

Accessibility & contrast

On white

1.98
#B4C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B4C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C052
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C052#FFFFFF#000000##000000
##B4C0521.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CCB959
Tritanopia (blue-blind)
#BEB6A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c052;
/* rgb */ color: rgb(180, 192, 82);
/* oklch */ color: oklch(77.6% 0.135 114.8);
Tailwind
colors: {
  custom: {
    50: '#cdd286',
    500: '#b4c052',
    950: '#000000',
  },
}
SCSS
$custom: #b4c052;
$custom-light: #cdd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c052",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 66.545,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77635,
    "c": 0.13501,
    "h": 114.8
  },
  "luminance": 0.48012
}

Semantic roles & 50–950 ramp

primary
#B4C052
secondary
#A59FCE
accent
#52D660
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4C052

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

Preview Lab → · Contrast checker → · Palette generator →

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