#B8A735#B8A735

#B8A735 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.131 H 100.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B8A735
RGBrgb(184, 167, 53)
HSLhsl(52, 55%, 46%)
HSVhsv(52, 71%, 72%)
CMYKcmyk(0%, 9.2%, 71.2%, 27.8%)
CIE-LABlab(68.08, -6.70, 58.12)
CIE-LCHlch(68.08, 58.51, 96.57°)
OKLaboklab(72.26% -0.0242 0.1292)
OKLCHoklch(72.26% 0.131 100.6)
XYZxyz(34.2300, 38.0864, 8.9159)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A735 #3546B8
analogous
#B86635 #B8A735 #88B835
triadic
#B8A735 #35B8A7 #A735B8
tetradic
#B8A735 #35B866 #3546B8 #B83588
square
#B8A735 #35B866 #3546B8 #B83588
split-complementary
#B8A735 #3588B8 #6635B8
monochromatic
#59511A #887C27 #B8A735 #D0C05B #DDD38A

Accessibility & contrast

On white

2.44
#B8A735 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B8A735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A735
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A735#FFFFFF#000000##000000
##B8A7351.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A223
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#C69B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a735;
/* rgb */ color: rgb(184, 167, 53);
/* oklch */ color: oklch(72.3% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#d1c074',
    500: '#b8a735',
    950: '#000000',
  },
}
SCSS
$custom: #b8a735;
$custom-light: #d1c074;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a735",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 53
  },
  "hsl": {
    "h": 52.214,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72259,
    "c": 0.13147,
    "h": 100.6
  },
  "luminance": 0.38085
}

Semantic roles & 50–950 ramp

primary
#B8A735
secondary
#818AC7
accent
#5DDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A735

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

Preview Lab → · Contrast checker → · Palette generator →

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