#B5B43A#B5B43A

#B5B43A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.140 H 108.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B5B43A
RGBrgb(181, 180, 58)
HSLhsl(60, 51%, 47%)
HSVhsv(60, 68%, 71%)
CMYKcmyk(0%, 0.6%, 68%, 29%)
CIE-LABlab(71.40, -14.49, 59.40)
CIE-LCHlch(71.40, 61.14, 103.71°)
OKLaboklab(74.85% -0.0455 0.1329)
OKLCHoklch(74.85% 0.14 108.9)
XYZxyz(36.1423, 42.7728, 10.3543)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B43A #3A3BB5
analogous
#B5773A #B5B43A #79B53A
triadic
#B5B43A #3AB5B4 #B43AB5
tetradic
#B5B43A #3AB577 #3A3BB5 #B53A79
square
#B5B43A #3AB577 #3A3BB5 #B53A79
split-complementary
#B5B43A #3A79B5 #773AB5
monochromatic
#58581C #87862B #B5B43A #CCCB60 #DBDA8E

Accessibility & contrast

On white

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

On black

9.55
#B5B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B43A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B43A#FFFFFF#000000##000000
##B5B43A1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD28
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#C2A99C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b43a;
/* rgb */ color: rgb(181, 180, 58);
/* oklch */ color: oklch(74.8% 0.140 108.9);
Tailwind
colors: {
  custom: {
    50: '#ceca77',
    500: '#b5b43a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b43a;
$custom-light: #ceca77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b43a",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 59.512,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74847,
    "c": 0.14046,
    "h": 108.9
  },
  "luminance": 0.42772
}

Semantic roles & 50–950 ramp

primary
#B5B43A
secondary
#8586C6
accent
#4EDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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