#B8B62C#B8B62C

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

Color values

HEX#B8B62C
RGBrgb(184, 182, 44)
HSLhsl(59, 61%, 45%)
HSVhsv(59, 76%, 72%)
CMYKcmyk(0%, 1.1%, 76.1%, 27.8%)
CIE-LABlab(72.11, -14.88, 65.14)
CIE-LCHlch(72.11, 66.82, 102.87°)
OKLaboklab(75.45% -0.0481 0.1424)
OKLCHoklch(75.45% 0.15 108.7)
XYZxyz(36.9512, 43.8293, 8.8958)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B62C #2C2EB8
analogous
#B8702C #B8B62C #74B82C
triadic
#B8B62C #2CB8B6 #B62CB8
tetradic
#B8B62C #2CB870 #2C2EB8 #B82C74
square
#B8B62C #2CB870 #2C2EB8 #B82C74
split-complementary
#B8B62C #2C74B8 #702CB8
monochromatic
#555414 #878520 #B8B62C #D4D24D #E0DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B62C#FFFFFF#000000##000000
##B8B62C1.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)
#C5AE07
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#C5AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b62c;
/* rgb */ color: rgb(184, 182, 44);
/* oklch */ color: oklch(75.4% 0.150 108.7);
Tailwind
colors: {
  custom: {
    50: '#d1cb71',
    500: '#b8b62c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b62c;
$custom-light: #d1cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b62c",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 59.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7545,
    "c": 0.15033,
    "h": 108.7
  },
  "luminance": 0.43828
}

Semantic roles & 50–950 ramp

primary
#B8B62C
secondary
#7778C9
accent
#46E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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