#B5B52D#B5B52D

#B5B52D is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.149 H 109.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B5B52D
RGBrgb(181, 181, 45)
HSLhsl(60, 60%, 44%)
HSVhsv(60, 75%, 71%)
CMYKcmyk(0%, 0%, 75.1%, 29%)
CIE-LABlab(71.60, -15.63, 64.25)
CIE-LCHlch(71.60, 66.12, 103.67°)
OKLaboklab(74.98% -0.0499 0.1408)
OKLCHoklch(74.98% 0.149 109.5)
XYZxyz(36.0549, 43.0621, 8.8947)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B52D #2D2DB5
analogous
#B5712D #B5B52D #71B52D
triadic
#B5B52D #2DB5B5 #B52DB5
tetradic
#B5B52D #2DB571 #2D2DB5 #B52D71
square
#B5B52D #2DB571 #2D2DB5 #B52D71
split-complementary
#B5B52D #2D71B5 #712DB5
monochromatic
#535315 #848421 #B5B52D #D3D34D #DFDF7E

Accessibility & contrast

On white

2.18
#B5B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B5B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B52D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B52D#FFFFFF#000000##000000
##B5B52D1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0C
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C2A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b52d;
/* rgb */ color: rgb(181, 181, 45);
/* oklch */ color: oklch(75.0% 0.149 109.5);
Tailwind
colors: {
  custom: {
    50: '#cfca71',
    500: '#b5b52d',
    950: '#000000',
  },
}
SCSS
$custom: #b5b52d;
$custom-light: #cfca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b52d",
  "rgb": {
    "r": 181,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74979,
    "c": 0.14943,
    "h": 109.5
  },
  "luminance": 0.43061
}

Semantic roles & 50–950 ramp

primary
#B5B52D
secondary
#7676C7
accent
#44E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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