#B4B754#B4B754

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

Color values

HEX#B4B754
RGBrgb(180, 183, 84)
HSLhsl(62, 41%, 52%)
HSVhsv(62, 54%, 72%)
CMYKcmyk(1.6%, 0%, 54.1%, 28.2%)
CIE-LABlab(72.37, -14.65, 49.18)
CIE-LCHlch(72.37, 51.31, 106.59°)
OKLaboklab(75.67% -0.0431 0.1148)
OKLCHoklch(75.67% 0.123 110.6)
XYZxyz(37.3570, 44.2112, 14.9515)
Luminance0.4421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B754 #5754B7
analogous
#B78854 #B4B754 #83B754
triadic
#B4B754 #54B4B7 #B754B4
tetradic
#B4B754 #54B788 #5754B7 #B75483
square
#B4B754 #54B788 #5754B7 #B75483
split-complementary
#B4B754 #5483B7 #8854B7
monochromatic
#64662B #8E913D #B4B754 #C7C97F #DADBAA

Accessibility & contrast

On white

2.13
#B4B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B754#FFFFFF#000000##000000
##B4B7541.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b754;
/* rgb */ color: rgb(180, 183, 84);
/* oklch */ color: oklch(75.7% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#cdcc87',
    500: '#b4b754',
    950: '#000000',
  },
}
SCSS
$custom: #b4b754;
$custom-light: #cdcc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b754",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 61.818,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75673,
    "c": 0.12265,
    "h": 110.6
  },
  "luminance": 0.4421
}

Semantic roles & 50–950 ramp

primary
#B4B754
secondary
#9F9EC9
accent
#57D15B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B754

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

Preview Lab → · Contrast checker → · Palette generator →

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