#B8A038#B8A038

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

Color values

HEX#B8A038
RGBrgb(184, 160, 56)
HSLhsl(49, 53%, 47%)
HSVhsv(49, 70%, 72%)
CMYKcmyk(0%, 13%, 69.6%, 27.8%)
CIE-LABlab(66.23, -2.82, 55.06)
CIE-LCHlch(66.23, 55.13, 92.93°)
OKLaboklab(70.8% -0.0128 0.1233)
OKLCHoklch(70.8% 0.124 95.9)
XYZxyz(33.0534, 35.6192, 8.8748)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A038 #3850B8
analogous
#B86038 #B8A038 #90B838
triadic
#B8A038 #38B8A0 #A038B8
tetradic
#B8A038 #38B860 #3850B8 #B83890
square
#B8A038 #38B860 #3850B8 #B83890
split-complementary
#B8A038 #3890B8 #6038B8
monochromatic
#5A4E1B #89772A #B8A038 #CEB95F #DDCE8E

Accessibility & contrast

On white

2.59
#B8A038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B8A038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A038
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A038#FFFFFF#000000##000000
##B8A0381.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a038;
/* rgb */ color: rgb(184, 160, 56);
/* oklch */ color: oklch(70.8% 0.124 95.9);
Tailwind
colors: {
  custom: {
    50: '#d1bb75',
    500: '#b8a038',
    950: '#000000',
  },
}
SCSS
$custom: #b8a038;
$custom-light: #d1bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a038",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 48.75,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70795,
    "c": 0.12395,
    "h": 95.9
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

primary
#B8A038
secondary
#8591C7
accent
#66DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A038

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

Preview Lab → · Contrast checker → · Palette generator →

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