#B5A030#B5A030

#B5A030 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.129 H 98.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B5A030
RGBrgb(181, 160, 48)
HSLhsl(51, 58%, 45%)
HSVhsv(51, 73%, 71%)
CMYKcmyk(0%, 11.6%, 73.5%, 29%)
CIE-LABlab(65.89, -4.55, 57.80)
CIE-LCHlch(65.89, 57.98, 94.50°)
OKLaboklab(70.44% -0.0185 0.1277)
OKLCHoklch(70.44% 0.129 98.2)
XYZxyz(32.1619, 35.1804, 7.8922)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A030 #3045B5
analogous
#B55D30 #B5A030 #88B530
triadic
#B5A030 #30B5A0 #A030B5
tetradic
#B5A030 #30B55D #3045B5 #B53088
square
#B5A030 #30B55D #3045B5 #B53088
split-complementary
#B5A030 #3088B5 #5D30B5
monochromatic
#544A16 #857523 #B5A030 #D1BD51 #DECF82

Accessibility & contrast

On white

2.61
#B5A030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B5A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A030
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A030#FFFFFF#000000##000000
##B5A0301.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#C3948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b5a030;
/* rgb */ color: rgb(181, 160, 48);
/* oklch */ color: oklch(70.4% 0.129 98.2);
Tailwind
colors: {
  custom: {
    50: '#cfbb70',
    500: '#b5a030',
    950: '#000000',
  },
}
SCSS
$custom: #b5a030;
$custom-light: #cfbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a030",
  "rgb": {
    "r": 181,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 50.526,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70442,
    "c": 0.12904,
    "h": 98.2
  },
  "luminance": 0.35179
}

Semantic roles & 50–950 ramp

primary
#B5A030
secondary
#7A86C7
accent
#5FE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B5A030

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

Preview Lab → · Contrast checker → · Palette generator →

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