#B8A839#B8A839

#B8A839 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.130 H 101.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B8A839
RGBrgb(184, 168, 57)
HSLhsl(52, 53%, 47%)
HSVhsv(52, 69%, 72%)
CMYKcmyk(0%, 8.7%, 69%, 27.8%)
CIE-LABlab(68.38, -7.01, 56.84)
CIE-LCHlch(68.38, 57.27, 97.04°)
OKLaboklab(72.5% -0.0247 0.1272)
OKLCHoklch(72.5% 0.13 101)
XYZxyz(34.5098, 38.4925, 9.4821)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A839 #3949B8
analogous
#B86939 #B8A839 #89B839
triadic
#B8A839 #39B8A8 #A839B8
tetradic
#B8A839 #39B869 #3949B8 #B83989
square
#B8A839 #39B869 #3949B8 #B83989
split-complementary
#B8A839 #3989B8 #6939B8
monochromatic
#5B531C #897D2B #B8A839 #CEC060 #DCD38F

Accessibility & contrast

On white

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

On black

8.70
#B8A839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A839
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A839#FFFFFF#000000##000000
##B8A8391.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a839;
/* rgb */ color: rgb(184, 168, 57);
/* oklch */ color: oklch(72.5% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#d1c176',
    500: '#b8a839',
    950: '#000000',
  },
}
SCSS
$custom: #b8a839;
$custom-light: #d1c176;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a839",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 52.441,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72504,
    "c": 0.12958,
    "h": 101
  },
  "luminance": 0.38491
}

Semantic roles & 50–950 ramp

primary
#B8A839
secondary
#868EC7
accent
#5EDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A839

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

Preview Lab → · Contrast checker → · Palette generator →

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