#B8A63E#B8A63E

#B8A63E is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.124 H 99.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B8A63E
RGBrgb(184, 166, 62)
HSLhsl(51, 50%, 48%)
HSVhsv(51, 66%, 72%)
CMYKcmyk(0%, 9.8%, 66.3%, 27.8%)
CIE-LABlab(67.88, -5.67, 54.24)
CIE-LCHlch(67.88, 54.54, 95.97°)
OKLaboklab(72.12% -0.0203 0.1226)
OKLCHoklch(72.12% 0.124 99.4)
XYZxyz(34.2744, 37.8121, 10.0496)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A63E #3E50B8
analogous
#B8693E #B8A63E #8DB83E
triadic
#B8A63E #3EB8A6 #A63EB8
tetradic
#B8A63E #3EB869 #3E50B8 #B83E8D
square
#B8A63E #3EB869 #3E50B8 #B83E8D
split-complementary
#B8A63E #3E8DB8 #693EB8
monochromatic
#5C531F #8A7D2F #B8A63E #CCBD67 #DBD195

Accessibility & contrast

On white

2.45
#B8A63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B8A63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A63E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A63E#FFFFFF#000000##000000
##B8A63E1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A231
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#C69A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a63e;
/* rgb */ color: rgb(184, 166, 62);
/* oklch */ color: oklch(72.1% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#d0c079',
    500: '#b8a63e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a63e;
$custom-light: #d0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a63e",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 51.148,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7212,
    "c": 0.12423,
    "h": 99.4
  },
  "luminance": 0.37811
}

Semantic roles & 50–950 ramp

primary
#B8A63E
secondary
#8B94C7
accent
#63D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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