#B8A035#B8A035

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

Color values

HEX#B8A035
RGBrgb(184, 160, 53)
HSLhsl(49, 55%, 46%)
HSVhsv(49, 71%, 72%)
CMYKcmyk(0%, 13%, 71.2%, 27.8%)
CIE-LABlab(66.21, -2.98, 56.26)
CIE-LCHlch(66.21, 56.34, 93.03°)
OKLaboklab(70.77% -0.0136 0.1253)
OKLCHoklch(70.77% 0.126 96.2)
XYZxyz(32.9822, 35.5907, 8.4999)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A035 #354DB8
analogous
#B85F35 #B8A035 #8FB835
triadic
#B8A035 #35B8A0 #A035B8
tetradic
#B8A035 #35B85F #354DB8 #B8358F
square
#B8A035 #35B85F #354DB8 #B8358F
split-complementary
#B8A035 #358FB8 #5F35B8
monochromatic
#594D1A #887727 #B8A035 #D0BA5B #DDCE8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A035#FFFFFF#000000##000000
##B8A0351.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)
#B09D25
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#C7948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a035;
/* rgb */ color: rgb(184, 160, 53);
/* oklch */ color: oklch(70.8% 0.126 96.2);
Tailwind
colors: {
  custom: {
    50: '#d1bb73',
    500: '#b8a035',
    950: '#000000',
  },
}
SCSS
$custom: #b8a035;
$custom-light: #d1bb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a035",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 53
  },
  "hsl": {
    "h": 49.008,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7077,
    "c": 0.12601,
    "h": 96.2
  },
  "luminance": 0.35589
}

Semantic roles & 50–950 ramp

primary
#B8A035
secondary
#818EC7
accent
#65DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B8A035

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

Preview Lab → · Contrast checker → · Palette generator →

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