#B5B435#B5B435

#B5B435 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.144 H 109.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B5B435
RGBrgb(181, 180, 53)
HSLhsl(60, 55%, 46%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0%, 0.6%, 70.7%, 29%)
CIE-LABlab(71.37, -14.75, 61.26)
CIE-LCHlch(71.37, 63.01, 103.54°)
OKLaboklab(74.81% -0.0467 0.1359)
OKLCHoklch(74.81% 0.144 109)
XYZxyz(36.0212, 42.7244, 9.7166)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B435 #3536B5
analogous
#B57435 #B5B435 #76B535
triadic
#B5B435 #35B5B4 #B435B5
tetradic
#B5B435 #35B574 #3536B5 #B53576
square
#B5B435 #35B574 #3536B5 #B53576
split-complementary
#B5B435 #3576B5 #7435B5
monochromatic
#565619 #868527 #B5B435 #CECD59 #DCDC88

Accessibility & contrast

On white

2.20
#B5B435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B5B435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B435
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B435#FFFFFF#000000##000000
##B5B4351.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b435;
/* rgb */ color: rgb(181, 180, 53);
/* oklch */ color: oklch(74.8% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#cfca75',
    500: '#b5b435',
    950: '#000000',
  },
}
SCSS
$custom: #b5b435;
$custom-light: #cfca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b435",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 53
  },
  "hsl": {
    "h": 59.531,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7481,
    "c": 0.14376,
    "h": 109
  },
  "luminance": 0.42723
}

Semantic roles & 50–950 ramp

primary
#B5B435
secondary
#8080C6
accent
#4BDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B435

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

Preview Lab → · Contrast checker → · Palette generator →

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