#B8B62D#B8B62D

#B8B62D is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.150 H 108.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B8B62D
RGBrgb(184, 182, 45)
HSLhsl(59, 61%, 45%)
HSVhsv(59, 76%, 72%)
CMYKcmyk(0%, 1.1%, 75.5%, 27.8%)
CIE-LABlab(72.12, -14.84, 64.82)
CIE-LCHlch(72.12, 66.50, 102.89°)
OKLaboklab(75.46% -0.0479 0.1419)
OKLCHoklch(75.46% 0.15 108.6)
XYZxyz(36.9702, 43.8369, 8.9960)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B62D #2D2FB8
analogous
#B8712D #B8B62D #74B82D
triadic
#B8B62D #2DB8B6 #B62DB8
tetradic
#B8B62D #2DB871 #2D2FB8 #B82D74
square
#B8B62D #2DB871 #2D2FB8 #B82D74
split-complementary
#B8B62D #2D74B8 #712DB8
monochromatic
#565515 #878521 #B8B62D #D4D24E #E0DE80

Accessibility & contrast

On white

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

On black

9.77
#B8B62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B62D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B62D#FFFFFF#000000##000000
##B8B62D1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0B
Deuteranopia (green-blind)
#C7B338
Tritanopia (blue-blind)
#C5AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b62d;
/* rgb */ color: rgb(184, 182, 45);
/* oklch */ color: oklch(75.5% 0.150 108.6);
Tailwind
colors: {
  custom: {
    50: '#d1cb71',
    500: '#b8b62d',
    950: '#000000',
  },
}
SCSS
$custom: #b8b62d;
$custom-light: #d1cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b62d",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 59.137,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.1498,
    "h": 108.6
  },
  "luminance": 0.43836
}

Semantic roles & 50–950 ramp

primary
#B8B62D
secondary
#7879C9
accent
#46E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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