#B8B52D#B8B52D

#B8B52D is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.2% C 0.149 H 108.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B8B52D
RGBrgb(184, 181, 45)
HSLhsl(59, 61%, 45%)
HSVhsv(59, 76%, 72%)
CMYKcmyk(0%, 1.6%, 75.5%, 27.8%)
CIE-LABlab(71.84, -14.33, 64.57)
CIE-LCHlch(71.84, 66.14, 102.51°)
OKLaboklab(75.24% -0.0465 0.1414)
OKLCHoklch(75.24% 0.149 108.2)
XYZxyz(36.7661, 43.4288, 8.9280)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B52D #2D30B8
analogous
#B86F2D #B8B52D #76B82D
triadic
#B8B52D #2DB8B5 #B52DB8
tetradic
#B8B52D #2DB86F #2D30B8 #B82D76
square
#B8B52D #2DB86F #2D30B8 #B82D76
split-complementary
#B8B52D #2D76B8 #6F2DB8
monochromatic
#565415 #878521 #B8B52D #D4D14E #E0DE80

Accessibility & contrast

On white

2.17
#B8B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#B8B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B52D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B52D#FFFFFF#000000##000000
##B8B52D1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE0C
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C6A99B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b52d;
/* rgb */ color: rgb(184, 181, 45);
/* oklch */ color: oklch(75.2% 0.149 108.2);
Tailwind
colors: {
  custom: {
    50: '#d1ca71',
    500: '#b8b52d',
    950: '#000000',
  },
}
SCSS
$custom: #b8b52d;
$custom-light: #d1ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b52d",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 58.705,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75237,
    "c": 0.14884,
    "h": 108.2
  },
  "luminance": 0.43428
}

Semantic roles & 50–950 ramp

primary
#B8B52D
secondary
#787AC9
accent
#47E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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