#B4B652#B4B652

#B4B652 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.123 H 110.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B4B652
RGBrgb(180, 182, 82)
HSLhsl(61, 41%, 52%)
HSVhsv(61, 55%, 71%)
CMYKcmyk(1.1%, 0%, 54.9%, 28.6%)
CIE-LABlab(72.07, -14.30, 49.77)
CIE-LCHlch(72.07, 51.79, 106.03°)
OKLaboklab(75.43% -0.0423 0.1159)
OKLCHoklch(75.43% 0.123 110.1)
XYZxyz(37.0743, 43.7693, 14.4763)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B652 #5452B6
analogous
#B68652 #B4B652 #82B652
triadic
#B4B652 #52B4B6 #B652B4
tetradic
#B4B652 #52B686 #5452B6 #B65282
square
#B4B652 #52B686 #5452B6 #B65282
split-complementary
#B4B652 #5282B6 #8652B6
monochromatic
#62642A #8D8F3C #B4B652 #C7C87D #D9DAA8

Accessibility & contrast

On white

2.15
#B4B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B4B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B652
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B652#FFFFFF#000000##000000
##B4B6521.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C4B257
Tritanopia (blue-blind)
#BFACA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b652;
/* rgb */ color: rgb(180, 182, 82);
/* oklch */ color: oklch(75.4% 0.123 110.1);
Tailwind
colors: {
  custom: {
    50: '#cdcb86',
    500: '#b4b652',
    950: '#000000',
  },
}
SCSS
$custom: #b4b652;
$custom-light: #cdcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b652",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 61.2,
    "s": 40.65,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7543,
    "c": 0.12337,
    "h": 110.1
  },
  "luminance": 0.43768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4B652

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

Preview Lab → · Contrast checker → · Palette generator →

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