#B5B53A#B5B53A

#B5B53A is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.141 H 109.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B5B53A
RGBrgb(181, 181, 58)
HSLhsl(60, 51%, 47%)
HSVhsv(60, 68%, 71%)
CMYKcmyk(0%, 0%, 68%, 29%)
CIE-LABlab(71.68, -15.00, 59.68)
CIE-LCHlch(71.68, 61.53, 104.11°)
OKLaboklab(75.07% -0.0469 0.1335)
OKLCHoklch(75.07% 0.141 109.4)
XYZxyz(36.3449, 43.1780, 10.4218)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B53A #3A3AB5
analogous
#B5783A #B5B53A #78B53A
triadic
#B5B53A #3AB5B5 #B53AB5
tetradic
#B5B53A #3AB578 #3A3AB5 #B53A78
square
#B5B53A #3AB578 #3A3AB5 #B53A78
split-complementary
#B5B53A #3A78B5 #783AB5
monochromatic
#58581C #87872B #B5B53A #CCCC60 #DBDB8E

Accessibility & contrast

On white

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

On black

9.64
#B5B53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B53A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B53A#FFFFFF#000000##000000
##B5B53A1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b53a;
/* rgb */ color: rgb(181, 181, 58);
/* oklch */ color: oklch(75.1% 0.141 109.4);
Tailwind
colors: {
  custom: {
    50: '#ceca78',
    500: '#b5b53a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b53a;
$custom-light: #ceca78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b53a",
  "rgb": {
    "r": 181,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75067,
    "c": 0.14148,
    "h": 109.4
  },
  "luminance": 0.43177
}

Semantic roles & 50–950 ramp

primary
#B5B53A
secondary
#8585C6
accent
#4DDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B53A

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

Preview Lab → · Contrast checker → · Palette generator →

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