#B5B433#B5B433

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

Color values

HEX#B5B433
RGBrgb(181, 180, 51)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 71%)
CMYKcmyk(0%, 0.6%, 71.8%, 29%)
CIE-LABlab(71.36, -14.85, 61.97)
CIE-LCHlch(71.36, 63.72, 103.47°)
OKLaboklab(74.8% -0.0472 0.1371)
OKLCHoklch(74.8% 0.145 109)
XYZxyz(35.9762, 42.7064, 9.4794)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B433 #3334B5
analogous
#B57333 #B5B433 #75B533
triadic
#B5B433 #33B5B4 #B433B5
tetradic
#B5B433 #33B573 #3334B5 #B53375
square
#B5B433 #33B573 #3334B5 #B53375
split-complementary
#B5B433 #3375B5 #7333B5
monochromatic
#565518 #858526 #B5B433 #CFCE56 #DDDC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B433#FFFFFF#000000##000000
##B5B4331.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)
#C3AC1B
Deuteranopia (green-blind)
#C4B13D
Tritanopia (blue-blind)
#C2A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b433;
/* rgb */ color: rgb(181, 180, 51);
/* oklch */ color: oklch(74.8% 0.145 109.0);
Tailwind
colors: {
  custom: {
    50: '#cfca74',
    500: '#b5b433',
    950: '#000000',
  },
}
SCSS
$custom: #b5b433;
$custom-light: #cfca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b433",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 59.538,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74796,
    "c": 0.145,
    "h": 109
  },
  "luminance": 0.42705
}

Semantic roles & 50–950 ramp

primary
#B5B433
secondary
#7D7EC6
accent
#4ADF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B433

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

Preview Lab → · Contrast checker → · Palette generator →

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