#B8A039#B8A039

#B8A039 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.123 H 95.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B8A039
RGBrgb(184, 160, 57)
HSLhsl(49, 53%, 47%)
HSVhsv(49, 69%, 72%)
CMYKcmyk(0%, 13%, 69%, 27.8%)
CIE-LABlab(66.24, -2.76, 54.65)
CIE-LCHlch(66.24, 54.72, 92.90°)
OKLaboklab(70.8% -0.0126 0.1226)
OKLCHoklch(70.8% 0.123 95.8)
XYZxyz(33.0781, 35.6291, 9.0049)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A039 #3951B8
analogous
#B86039 #B8A039 #91B839
triadic
#B8A039 #39B8A0 #A039B8
tetradic
#B8A039 #39B860 #3951B8 #B83991
square
#B8A039 #39B860 #3951B8 #B83991
split-complementary
#B8A039 #3991B8 #6039B8
monochromatic
#5B4F1C #89772B #B8A039 #CEB960 #DCCE8F

Accessibility & contrast

On white

2.58
#B8A039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B8A039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A039
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A039#FFFFFF#000000##000000
##B8A0391.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2B
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#C6948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a039;
/* rgb */ color: rgb(184, 160, 57);
/* oklch */ color: oklch(70.8% 0.123 95.8);
Tailwind
colors: {
  custom: {
    50: '#d1bb75',
    500: '#b8a039',
    950: '#000000',
  },
}
SCSS
$custom: #b8a039;
$custom-light: #d1bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a039",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 57
  },
  "hsl": {
    "h": 48.661,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.12323,
    "h": 95.8
  },
  "luminance": 0.35627
}

Semantic roles & 50–950 ramp

primary
#B8A039
secondary
#8692C7
accent
#67DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A039

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

Preview Lab → · Contrast checker → · Palette generator →

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