#B8B535#B8B535

#B8B535 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.144 H 108.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B8B535
RGBrgb(184, 181, 53)
HSLhsl(59, 55%, 46%)
HSVhsv(59, 71%, 72%)
CMYKcmyk(0%, 1.6%, 71.2%, 27.8%)
CIE-LABlab(71.89, -13.97, 61.85)
CIE-LCHlch(71.89, 63.41, 102.73°)
OKLaboklab(75.29% -0.0447 0.1371)
OKLCHoklch(75.29% 0.144 108.1)
XYZxyz(36.9350, 43.4963, 9.8175)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B535 #3538B8
analogous
#B87435 #B8B535 #7AB835
triadic
#B8B535 #35B8B5 #B535B8
tetradic
#B8B535 #35B874 #3538B8 #B8357A
square
#B8B535 #35B874 #3538B8 #B8357A
split-complementary
#B8B535 #357AB8 #7435B8
monochromatic
#59581A #888627 #B8B535 #D0CD5B #DDDB8A

Accessibility & contrast

On white

2.17
#B8B535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B8B535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B535
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B535#FFFFFF#000000##000000
##B8B5351.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1F
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b535;
/* rgb */ color: rgb(184, 181, 53);
/* oklch */ color: oklch(75.3% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#d1ca75',
    500: '#b8b535',
    950: '#000000',
  },
}
SCSS
$custom: #b8b535;
$custom-light: #d1ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b535",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 58.626,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75288,
    "c": 0.14421,
    "h": 108.1
  },
  "luminance": 0.43495
}

Semantic roles & 50–950 ramp

primary
#B8B535
secondary
#8183C7
accent
#4DDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B535

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

Preview Lab → · Contrast checker → · Palette generator →

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