#B8B62E#B8B62E

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

Color values

HEX#B8B62E
RGBrgb(184, 182, 46)
HSLhsl(59, 60%, 45%)
HSVhsv(59, 75%, 72%)
CMYKcmyk(0%, 1.1%, 75%, 27.8%)
CIE-LABlab(72.12, -14.80, 64.50)
CIE-LCHlch(72.12, 66.18, 102.92°)
OKLaboklab(75.46% -0.0477 0.1414)
OKLCHoklch(75.46% 0.149 108.6)
XYZxyz(36.9897, 43.8447, 9.0986)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B62E #2E30B8
analogous
#B8712E #B8B62E #75B82E
triadic
#B8B62E #2EB8B6 #B62EB8
tetradic
#B8B62E #2EB871 #2E30B8 #B82E75
square
#B8B62E #2EB871 #2E30B8 #B82E75
split-complementary
#B8B62E #2E75B8 #712EB8
monochromatic
#565516 #878622 #B8B62E #D3D150 #DFDE81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B62E#FFFFFF#000000##000000
##B8B62E1.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)
#C5AE0E
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C5AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b62e;
/* rgb */ color: rgb(184, 182, 46);
/* oklch */ color: oklch(75.5% 0.149 108.6);
Tailwind
colors: {
  custom: {
    50: '#d1cb72',
    500: '#b8b62e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b62e;
$custom-light: #d1cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b62e",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 59.13,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75462,
    "c": 0.14926,
    "h": 108.6
  },
  "luminance": 0.43844
}

Semantic roles & 50–950 ramp

primary
#B8B62E
secondary
#797BC8
accent
#47E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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