#B5B431#B5B431

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

Color values

HEX#B5B431
RGBrgb(181, 180, 49)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 73%, 71%)
CMYKcmyk(0%, 0.6%, 72.9%, 29%)
CIE-LABlab(71.34, -14.94, 62.66)
CIE-LCHlch(71.34, 64.42, 103.41°)
OKLaboklab(74.78% -0.0477 0.1382)
OKLCHoklch(74.78% 0.146 109)
XYZxyz(35.9330, 42.6891, 9.2521)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B431 #3132B5
analogous
#B57231 #B5B431 #74B531
triadic
#B5B431 #31B5B4 #B431B5
tetradic
#B5B431 #31B572 #3132B5 #B53174
square
#B5B431 #31B572 #3132B5 #B53174
split-complementary
#B5B431 #3174B5 #7231B5
monochromatic
#555417 #858424 #B5B431 #D0CF53 #DDDD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B431#FFFFFF#000000##000000
##B5B4311.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)
#C3AC17
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#C2A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b431;
/* rgb */ color: rgb(181, 180, 49);
/* oklch */ color: oklch(74.8% 0.146 109.0);
Tailwind
colors: {
  custom: {
    50: '#cfca73',
    500: '#b5b431',
    950: '#000000',
  },
}
SCSS
$custom: #b5b431;
$custom-light: #cfca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b431",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 59.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74783,
    "c": 0.14619,
    "h": 109
  },
  "luminance": 0.42688
}

Semantic roles & 50–950 ramp

primary
#B5B431
secondary
#7B7CC7
accent
#48E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B431

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

Preview Lab → · Contrast checker → · Palette generator →

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