#B8A63F#B8A63F

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

Color values

HEX#B8A63F
RGBrgb(184, 166, 63)
HSLhsl(51, 49%, 48%)
HSVhsv(51, 66%, 72%)
CMYKcmyk(0%, 9.8%, 65.8%, 27.8%)
CIE-LABlab(67.89, -5.61, 53.82)
CIE-LCHlch(67.89, 54.11, 95.95°)
OKLaboklab(72.13% -0.02 0.1218)
OKLCHoklch(72.13% 0.123 99.3)
XYZxyz(34.3021, 37.8232, 10.1954)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A63F #3F51B8
analogous
#B8693F #B8A63F #8DB83F
triadic
#B8A63F #3FB8A6 #A63FB8
tetradic
#B8A63F #3FB869 #3F51B8 #B83F8D
square
#B8A63F #3FB869 #3F51B8 #B83F8D
split-complementary
#B8A63F #3F8DB8 #693FB8
monochromatic
#5D5420 #8A7D2F #B8A63F #CCBD69 #DBD196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A63F#FFFFFF#000000##000000
##B8A63F1.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)
#B5A232
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#C69A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a63f;
/* rgb */ color: rgb(184, 166, 63);
/* oklch */ color: oklch(72.1% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0c079',
    500: '#b8a63f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a63f;
$custom-light: #d0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a63f",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 51.074,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72129,
    "c": 0.12346,
    "h": 99.3
  },
  "luminance": 0.37822
}

Semantic roles & 50–950 ramp

primary
#B8A63F
secondary
#8C95C7
accent
#64D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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