#B8A335#B8A335

#B8A335 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.128 H 98.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B8A335
RGBrgb(184, 163, 53)
HSLhsl(50, 55%, 46%)
HSVhsv(50, 71%, 72%)
CMYKcmyk(0%, 11.4%, 71.2%, 27.8%)
CIE-LABlab(67.01, -4.58, 57.06)
CIE-LCHlch(67.01, 57.24, 94.59°)
OKLaboklab(71.41% -0.0182 0.127)
OKLCHoklch(71.41% 0.128 98.2)
XYZxyz(33.5086, 36.6434, 8.6754)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A335 #354AB8
analogous
#B86235 #B8A335 #8CB835
triadic
#B8A335 #35B8A3 #A335B8
tetradic
#B8A335 #35B862 #354AB8 #B8358C
square
#B8A335 #35B862 #354AB8 #B8358C
split-complementary
#B8A335 #358CB8 #6235B8
monochromatic
#594F1A #887927 #B8A335 #D0BD5B #DDD08A

Accessibility & contrast

On white

2.52
#B8A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B8A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A335
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A335#FFFFFF#000000##000000
##B8A3351.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F24
Deuteranopia (green-blind)
#B9A63C
Tritanopia (blue-blind)
#C6978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a335;
/* rgb */ color: rgb(184, 163, 53);
/* oklch */ color: oklch(71.4% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#d1bd73',
    500: '#b8a335',
    950: '#000000',
  },
}
SCSS
$custom: #b8a335;
$custom-light: #d1bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a335",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 50.382,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.12827,
    "h": 98.2
  },
  "luminance": 0.36642
}

Semantic roles & 50–950 ramp

primary
#B8A335
secondary
#818DC7
accent
#61DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A335

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

Preview Lab → · Contrast checker → · Palette generator →

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