#B8B435#B8B435

#B8B435 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.143 H 107.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#B8B435
RGBrgb(184, 180, 53)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 72%)
CMYKcmyk(0%, 2.2%, 71.2%, 27.8%)
CIE-LABlab(71.62, -13.46, 61.59)
CIE-LCHlch(71.62, 63.04, 102.33°)
OKLaboklab(75.07% -0.0433 0.1365)
OKLCHoklch(75.07% 0.143 107.6)
XYZxyz(36.7324, 43.0911, 9.7500)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B435 #3539B8
analogous
#B87335 #B8B435 #7BB835
triadic
#B8B435 #35B8B4 #B435B8
tetradic
#B8B435 #35B873 #3539B8 #B8357B
square
#B8B435 #35B873 #3539B8 #B8357B
split-complementary
#B8B435 #357BB8 #7335B8
monochromatic
#59571A #888627 #B8B435 #D0CC5B #DDDB8A

Accessibility & contrast

On white

2.18
#B8B435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#B8B435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B435
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B435#FFFFFF#000000##000000
##B8B4351.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1F
Deuteranopia (green-blind)
#C5B23E
Tritanopia (blue-blind)
#C5A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b435;
/* rgb */ color: rgb(184, 180, 53);
/* oklch */ color: oklch(75.1% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#d1ca75',
    500: '#b8b435',
    950: '#000000',
  },
}
SCSS
$custom: #b8b435;
$custom-light: #d1ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b435",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 53
  },
  "hsl": {
    "h": 58.168,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75069,
    "c": 0.14324,
    "h": 107.6
  },
  "luminance": 0.4309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8B435

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

Preview Lab → · Contrast checker → · Palette generator →

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