#B5A430#B5A430

#B5A430 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.132 H 100.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B5A430
RGBrgb(181, 164, 48)
HSLhsl(52, 58%, 45%)
HSVhsv(52, 73%, 71%)
CMYKcmyk(0%, 9.4%, 73.5%, 29%)
CIE-LABlab(66.97, -6.67, 58.84)
CIE-LCHlch(66.97, 59.22, 96.47°)
OKLaboklab(71.3% -0.0245 0.1299)
OKLCHoklch(71.3% 0.132 100.7)
XYZxyz(32.8665, 36.5896, 8.1270)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A430 #3041B5
analogous
#B56230 #B5A430 #83B530
triadic
#B5A430 #30B5A4 #A430B5
tetradic
#B5A430 #30B562 #3041B5 #B53083
square
#B5A430 #30B562 #3041B5 #B53083
split-complementary
#B5A430 #3083B5 #6230B5
monochromatic
#544C16 #857823 #B5A430 #D1C151 #DED282

Accessibility & contrast

On white

2.52
#B5A430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B5A430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A430
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A430#FFFFFF#000000##000000
##B5A4301.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#C3988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a430;
/* rgb */ color: rgb(181, 164, 48);
/* oklch */ color: oklch(71.3% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#cfbe71',
    500: '#b5a430',
    950: '#000000',
  },
}
SCSS
$custom: #b5a430;
$custom-light: #cfbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a430",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 52.331,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.13221,
    "h": 100.7
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#B5A430
secondary
#7A84C7
accent
#5AE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A430

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

Preview Lab → · Contrast checker → · Palette generator →

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