#B8A62C#B8A62C

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

Color values

HEX#B8A62C
RGBrgb(184, 166, 44)
HSLhsl(52, 61%, 45%)
HSVhsv(52, 76%, 72%)
CMYKcmyk(0%, 9.8%, 76.1%, 27.8%)
CIE-LABlab(67.76, -6.58, 61.12)
CIE-LCHlch(67.76, 61.47, 96.15°)
OKLaboklab(71.98% -0.0248 0.1339)
OKLCHoklch(71.98% 0.136 100.5)
XYZxyz(33.8596, 37.6462, 7.8653)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A62C #2C3EB8
analogous
#B8602C #B8A62C #84B82C
triadic
#B8A62C #2CB8A6 #A62CB8
tetradic
#B8A62C #2CB860 #2C3EB8 #B82C84
square
#B8A62C #2CB860 #2C3EB8 #B82C84
split-complementary
#B8A62C #2C84B8 #602CB8
monochromatic
#554D14 #877920 #B8A62C #D4C34D #E0D47E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A62C#FFFFFF#000000##000000
##B8A62C1.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)
#B6A113
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#C79A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a62c;
/* rgb */ color: rgb(184, 166, 44);
/* oklch */ color: oklch(72.0% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#d1c06f',
    500: '#b8a62c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a62c;
$custom-light: #d1c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a62c",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 52.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.13614,
    "h": 100.5
  },
  "luminance": 0.37645
}

Semantic roles & 50–950 ramp

primary
#B8A62C
secondary
#7782C9
accent
#58E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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