#B8A62D#B8A62D

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

Color values

HEX#B8A62D
RGBrgb(184, 166, 45)
HSLhsl(52, 61%, 45%)
HSVhsv(52, 76%, 72%)
CMYKcmyk(0%, 9.8%, 75.5%, 27.8%)
CIE-LABlab(67.76, -6.54, 60.78)
CIE-LCHlch(67.76, 61.13, 96.14°)
OKLaboklab(71.99% -0.0246 0.1333)
OKLCHoklch(71.99% 0.136 100.4)
XYZxyz(33.8787, 37.6539, 7.9655)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A62D #2D3FB8
analogous
#B8602D #B8A62D #85B82D
triadic
#B8A62D #2DB8A6 #A62DB8
tetradic
#B8A62D #2DB860 #2D3FB8 #B82D85
square
#B8A62D #2DB860 #2D3FB8 #B82D85
split-complementary
#B8A62D #2D85B8 #602DB8
monochromatic
#564D15 #877A21 #B8A62D #D4C34E #E0D380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A62D#FFFFFF#000000##000000
##B8A62D1.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)
#B6A115
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#C69A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a62d;
/* rgb */ color: rgb(184, 166, 45);
/* oklch */ color: oklch(72.0% 0.136 100.4);
Tailwind
colors: {
  custom: {
    50: '#d1c06f',
    500: '#b8a62d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a62d;
$custom-light: #d1c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a62d",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 52.23,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71989,
    "c": 0.13558,
    "h": 100.4
  },
  "luminance": 0.37652
}

Semantic roles & 50–950 ramp

primary
#B8A62D
secondary
#7883C9
accent
#59E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A62D

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

Preview Lab → · Contrast checker → · Palette generator →

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