#B8A83F#B8A83F

#B8A83F is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.125 H 100.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B8A83F
RGBrgb(184, 168, 63)
HSLhsl(52, 49%, 48%)
HSVhsv(52, 66%, 72%)
CMYKcmyk(0%, 8.7%, 65.8%, 27.8%)
CIE-LABlab(68.43, -6.67, 54.39)
CIE-LCHlch(68.43, 54.79, 96.99°)
OKLaboklab(72.56% -0.023 0.123)
OKLCHoklch(72.56% 0.125 100.6)
XYZxyz(34.6685, 38.5560, 10.3176)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A83F #3F4FB8
analogous
#B86B3F #B8A83F #8BB83F
triadic
#B8A83F #3FB8A8 #A83FB8
tetradic
#B8A83F #3FB86B #3F4FB8 #B83F8B
square
#B8A83F #3FB86B #3F4FB8 #B83F8B
split-complementary
#B8A83F #3F8BB8 #6B3FB8
monochromatic
#5D5520 #8A7E2F #B8A83F #CCBE69 #DBD296

Accessibility & contrast

On white

2.41
#B8A83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B8A83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A83F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A83F#FFFFFF#000000##000000
##B8A83F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A332
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#C69C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a83f;
/* rgb */ color: rgb(184, 168, 63);
/* oklch */ color: oklch(72.6% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#d0c179',
    500: '#b8a83f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a83f;
$custom-light: #d0c179;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a83f",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 63
  },
  "hsl": {
    "h": 52.066,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72556,
    "c": 0.12516,
    "h": 100.6
  },
  "luminance": 0.38554
}

Semantic roles & 50–950 ramp

primary
#B8A83F
secondary
#8C94C7
accent
#61D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A83F

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

Preview Lab → · Contrast checker → · Palette generator →

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