#B8A635#B8A635

#B8A635 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.131 H 100.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B8A635
RGBrgb(184, 166, 53)
HSLhsl(52, 55%, 46%)
HSVhsv(52, 71%, 72%)
CMYKcmyk(0%, 9.8%, 71.2%, 27.8%)
CIE-LABlab(67.81, -6.17, 57.86)
CIE-LCHlch(67.81, 58.19, 96.09°)
OKLaboklab(72.05% -0.0227 0.1287)
OKLCHoklch(72.05% 0.131 100)
XYZxyz(34.0476, 37.7214, 8.8550)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A635 #3547B8
analogous
#B86535 #B8A635 #89B835
triadic
#B8A635 #35B8A6 #A635B8
tetradic
#B8A635 #35B865 #3547B8 #B83589
square
#B8A635 #35B865 #3547B8 #B83589
split-complementary
#B8A635 #3589B8 #6535B8
monochromatic
#59501A #887B27 #B8A635 #D0C05B #DDD28A

Accessibility & contrast

On white

2.46
#B8A635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B8A635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A635
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A635#FFFFFF#000000##000000
##B8A6351.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A124
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#C69A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a635;
/* rgb */ color: rgb(184, 166, 53);
/* oklch */ color: oklch(72.0% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#d1c073',
    500: '#b8a635',
    950: '#000000',
  },
}
SCSS
$custom: #b8a635;
$custom-light: #d1c073;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a635",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 51.756,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72045,
    "c": 0.13065,
    "h": 100
  },
  "luminance": 0.3772
}

Semantic roles & 50–950 ramp

primary
#B8A635
secondary
#818BC7
accent
#5EDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A635

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

Preview Lab → · Contrast checker → · Palette generator →

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