#B8B62B#B8B62B

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

Color values

HEX#B8B62B
RGBrgb(184, 182, 43)
HSLhsl(59, 62%, 45%)
HSVhsv(59, 77%, 72%)
CMYKcmyk(0%, 1.1%, 76.6%, 27.8%)
CIE-LABlab(72.11, -14.92, 65.45)
CIE-LCHlch(72.11, 67.13, 102.84°)
OKLaboklab(75.44% -0.0483 0.1429)
OKLCHoklch(75.44% 0.151 108.7)
XYZxyz(36.9326, 43.8219, 8.7980)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B62B #2B2DB8
analogous
#B8702B #B8B62B #74B82B
triadic
#B8B62B #2BB8B6 #B62BB8
tetradic
#B8B62B #2BB870 #2B2DB8 #B82B74
square
#B8B62B #2BB870 #2B2DB8 #B82B74
split-complementary
#B8B62B #2B74B8 #702BB8
monochromatic
#555414 #86851F #B8B62B #D5D34B #E1DF7D

Accessibility & contrast

On white

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

On black

9.76
#B8B62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B62B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B62B#FFFFFF#000000##000000
##B8B62B1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE03
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#C6AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b62b;
/* rgb */ color: rgb(184, 182, 43);
/* oklch */ color: oklch(75.4% 0.151 108.7);
Tailwind
colors: {
  custom: {
    50: '#d1cb70',
    500: '#b8b62b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b62b;
$custom-light: #d1cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b62b",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 59.149,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75445,
    "c": 0.15084,
    "h": 108.7
  },
  "luminance": 0.43821
}

Semantic roles & 50–950 ramp

primary
#B8B62B
secondary
#7677C9
accent
#45E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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