#B8B835#B8B835

#B8B835 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.147 H 109.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B8B835
RGBrgb(184, 184, 53)
HSLhsl(60, 55%, 46%)
HSVhsv(60, 71%, 72%)
CMYKcmyk(0%, 0%, 71.2%, 27.8%)
CIE-LABlab(72.71, -15.50, 62.65)
CIE-LCHlch(72.71, 64.54, 103.89°)
OKLaboklab(75.94% -0.049 0.1388)
OKLCHoklch(75.94% 0.147 109.4)
XYZxyz(37.5516, 44.7295, 10.0230)
Luminance0.4473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B835 #3535B8
analogous
#B87735 #B8B835 #77B835
triadic
#B8B835 #35B8B8 #B835B8
tetradic
#B8B835 #35B877 #3535B8 #B83577
square
#B8B835 #35B877 #3535B8 #B83577
split-complementary
#B8B835 #3577B8 #7735B8
monochromatic
#59591A #888827 #B8B835 #D0D05B #DDDD8A

Accessibility & contrast

On white

2.11
#B8B835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B8B835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B835
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B835#FFFFFF#000000##000000
##B8B8351.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01D
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#C5AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b835;
/* rgb */ color: rgb(184, 184, 53);
/* oklch */ color: oklch(75.9% 0.147 109.4);
Tailwind
colors: {
  custom: {
    50: '#d1cd75',
    500: '#b8b835',
    950: '#000000',
  },
}
SCSS
$custom: #b8b835;
$custom-light: #d1cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b835",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 53
  },
  "hsl": {
    "h": 60,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75945,
    "c": 0.14718,
    "h": 109.4
  },
  "luminance": 0.44728
}

Semantic roles & 50–950 ramp

primary
#B8B835
secondary
#8181C7
accent
#49DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B835

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

Preview Lab → · Contrast checker → · Palette generator →

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