#B5B430#B5B430

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

Color values

HEX#B5B430
RGBrgb(181, 180, 48)
HSLhsl(60, 58%, 45%)
HSVhsv(60, 73%, 71%)
CMYKcmyk(0%, 0.6%, 73.5%, 29%)
CIE-LABlab(71.34, -14.99, 63.00)
CIE-LCHlch(71.34, 64.76, 103.38°)
OKLaboklab(74.78% -0.0479 0.1387)
OKLCHoklch(74.78% 0.147 109)
XYZxyz(35.9121, 42.6808, 9.1422)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B430 #3031B5
analogous
#B57230 #B5B430 #73B530
triadic
#B5B430 #30B5B4 #B430B5
tetradic
#B5B430 #30B572 #3031B5 #B53073
square
#B5B430 #30B572 #3031B5 #B53073
split-complementary
#B5B430 #3073B5 #7230B5
monochromatic
#545416 #858423 #B5B430 #D1D051 #DEDD82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B430#FFFFFF#000000##000000
##B5B4301.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)
#C3AC15
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#C2A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b430;
/* rgb */ color: rgb(181, 180, 48);
/* oklch */ color: oklch(74.8% 0.147 109.0);
Tailwind
colors: {
  custom: {
    50: '#cfca72',
    500: '#b5b430',
    950: '#000000',
  },
}
SCSS
$custom: #b5b430;
$custom-light: #cfca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b430",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 48
  },
  "hsl": {
    "h": 59.549,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74777,
    "c": 0.14677,
    "h": 109
  },
  "luminance": 0.4268
}

Semantic roles & 50–950 ramp

primary
#B5B430
secondary
#7A7BC7
accent
#48E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B430

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

Preview Lab → · Contrast checker → · Palette generator →

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