#B8A435#B8A435

#B8A435 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.129 H 98.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B8A435
RGBrgb(184, 164, 53)
HSLhsl(51, 55%, 46%)
HSVhsv(51, 71%, 72%)
CMYKcmyk(0%, 10.9%, 71.2%, 27.8%)
CIE-LABlab(67.28, -5.11, 57.32)
CIE-LCHlch(67.28, 57.55, 95.09°)
OKLaboklab(71.62% -0.0197 0.1275)
OKLCHoklch(71.62% 0.129 98.8)
XYZxyz(33.6868, 36.9999, 8.7348)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A435 #3549B8
analogous
#B86335 #B8A435 #8BB835
triadic
#B8A435 #35B8A4 #A435B8
tetradic
#B8A435 #35B863 #3549B8 #B8358B
square
#B8A435 #35B863 #3549B8 #B8358B
split-complementary
#B8A435 #358BB8 #6335B8
monochromatic
#594F1A #887A27 #B8A435 #D0BE5B #DDD18A

Accessibility & contrast

On white

2.50
#B8A435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B8A435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A435
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A435#FFFFFF#000000##000000
##B8A4351.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A024
Deuteranopia (green-blind)
#B9A73C
Tritanopia (blue-blind)
#C6988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a435;
/* rgb */ color: rgb(184, 164, 53);
/* oklch */ color: oklch(71.6% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#d1be73',
    500: '#b8a435',
    950: '#000000',
  },
}
SCSS
$custom: #b8a435;
$custom-light: #d1be73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a435",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 53
  },
  "hsl": {
    "h": 50.84,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.12904,
    "h": 98.8
  },
  "luminance": 0.36998
}

Semantic roles & 50–950 ramp

primary
#B8A435
secondary
#818CC7
accent
#60DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A435

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

Preview Lab → · Contrast checker → · Palette generator →

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