#B4B752#B4B752

#B4B752 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.124 H 110.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B4B752
RGBrgb(180, 183, 82)
HSLhsl(62, 41%, 52%)
HSVhsv(62, 55%, 72%)
CMYKcmyk(1.6%, 0%, 55.2%, 28.2%)
CIE-LABlab(72.35, -14.81, 50.09)
CIE-LCHlch(72.35, 52.23, 106.48°)
OKLaboklab(75.65% -0.0438 0.1166)
OKLCHoklch(75.65% 0.125 110.6)
XYZxyz(37.2798, 44.1803, 14.5448)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B752 #5552B7
analogous
#B78852 #B4B752 #82B752
triadic
#B4B752 #52B4B7 #B752B4
tetradic
#B4B752 #52B788 #5552B7 #B75282
square
#B4B752 #52B788 #5552B7 #B75282
split-complementary
#B4B752 #5282B7 #8852B7
monochromatic
#63652A #8D903C #B4B752 #C7C97D #D9DBA8

Accessibility & contrast

On white

2.14
#B4B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B4B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B752
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B752#FFFFFF#000000##000000
##B4B7521.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C5B358
Tritanopia (blue-blind)
#BFADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b752;
/* rgb */ color: rgb(180, 183, 82);
/* oklch */ color: oklch(75.6% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#cdcc86',
    500: '#b4b752',
    950: '#000000',
  },
}
SCSS
$custom: #b4b752;
$custom-light: #cdcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b752",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 61.782,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.1245,
    "h": 110.6
  },
  "luminance": 0.44179
}

Semantic roles & 50–950 ramp

primary
#B4B752
secondary
#9E9CC9
accent
#57D15A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B752

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

Preview Lab → · Contrast checker → · Palette generator →

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