#B8A62B#B8A62B

#B8A62B is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.137 H 100.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B8A62B
RGBrgb(184, 166, 43)
HSLhsl(52, 62%, 45%)
HSVhsv(52, 77%, 72%)
CMYKcmyk(0%, 9.8%, 76.6%, 27.8%)
CIE-LABlab(67.75, -6.62, 61.46)
CIE-LCHlch(67.75, 61.81, 96.15°)
OKLaboklab(71.98% -0.025 0.1344)
OKLCHoklch(71.98% 0.137 100.5)
XYZxyz(33.8411, 37.6388, 7.7675)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A62B #2B3DB8
analogous
#B85F2B #B8A62B #84B82B
triadic
#B8A62B #2BB8A6 #A62BB8
tetradic
#B8A62B #2BB85F #2B3DB8 #B82B84
square
#B8A62B #2BB85F #2B3DB8 #B82B84
split-complementary
#B8A62B #2B84B8 #5F2BB8
monochromatic
#554C14 #86791F #B8A62B #D5C34B #E1D47D

Accessibility & contrast

On white

2.46
#B8A62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B8A62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A62B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A62B#FFFFFF#000000##000000
##B8A62B1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A110
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C79A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a62b;
/* rgb */ color: rgb(184, 166, 43);
/* oklch */ color: oklch(72.0% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#d1c06e',
    500: '#b8a62b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a62b;
$custom-light: #d1c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a62b",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 52.34,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71977,
    "c": 0.1367,
    "h": 100.5
  },
  "luminance": 0.37637
}

Semantic roles & 50–950 ramp

primary
#B8A62B
secondary
#7680C9
accent
#57E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A62B

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

Preview Lab → · Contrast checker → · Palette generator →

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