#B8A935#B8A935

#B8A935 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.133 H 101.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B8A935
RGBrgb(184, 169, 53)
HSLhsl(53, 55%, 46%)
HSVhsv(53, 71%, 72%)
CMYKcmyk(0%, 8.2%, 71.2%, 27.8%)
CIE-LABlab(68.62, -7.75, 58.66)
CIE-LCHlch(68.62, 59.17, 97.53°)
OKLaboklab(72.69% -0.0272 0.1304)
OKLCHoklch(72.69% 0.133 101.8)
XYZxyz(34.5993, 38.8248, 9.0389)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A935 #3544B8
analogous
#B86835 #B8A935 #86B835
triadic
#B8A935 #35B8A9 #A935B8
tetradic
#B8A935 #35B868 #3544B8 #B83586
square
#B8A935 #35B868 #3544B8 #B83586
split-complementary
#B8A935 #3586B8 #6835B8
monochromatic
#59521A #887D27 #B8A935 #D0C25B #DDD48A

Accessibility & contrast

On white

2.40
#B8A935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B8A935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A935
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A935#FFFFFF#000000##000000
##B8A9351.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A423
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#C69D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a935;
/* rgb */ color: rgb(184, 169, 53);
/* oklch */ color: oklch(72.7% 0.133 101.8);
Tailwind
colors: {
  custom: {
    50: '#d1c274',
    500: '#b8a935',
    950: '#000000',
  },
}
SCSS
$custom: #b8a935;
$custom-light: #d1c274;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a935",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 53.13,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72688,
    "c": 0.13316,
    "h": 101.8
  },
  "luminance": 0.38823
}

Semantic roles & 50–950 ramp

primary
#B8A935
secondary
#8189C7
accent
#5ADF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A935

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

Preview Lab → · Contrast checker → · Palette generator →

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