#B5A830#B5A830

#B5A830 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.136 H 103.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B5A830
RGBrgb(181, 168, 48)
HSLhsl(54, 58%, 45%)
HSVhsv(54, 73%, 71%)
CMYKcmyk(0%, 7.2%, 73.5%, 29%)
CIE-LABlab(68.05, -8.78, 59.88)
CIE-LCHlch(68.05, 60.52, 98.34°)
OKLaboklab(72.16% -0.0304 0.1321)
OKLCHoklch(72.16% 0.136 103)
XYZxyz(33.5937, 38.0438, 8.3694)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A830 #303DB5
analogous
#B56530 #B5A830 #80B530
triadic
#B5A830 #30B5A8 #A830B5
tetradic
#B5A830 #30B565 #303DB5 #B53080
square
#B5A830 #30B565 #303DB5 #B53080
split-complementary
#B5A830 #3080B5 #6530B5
monochromatic
#544E16 #857B23 #B5A830 #D1C451 #DED582

Accessibility & contrast

On white

2.44
#B5A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B5A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A830
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A830#FFFFFF#000000##000000
##B5A8301.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A21A
Deuteranopia (green-blind)
#BCA838
Tritanopia (blue-blind)
#C39C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b5a830;
/* rgb */ color: rgb(181, 168, 48);
/* oklch */ color: oklch(72.2% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#cfc171',
    500: '#b5a830',
    950: '#000000',
  },
}
SCSS
$custom: #b5a830;
$custom-light: #cfc171;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a830",
  "rgb": {
    "r": 181,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 54.135,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72159,
    "c": 0.13559,
    "h": 103
  },
  "luminance": 0.38042
}

Semantic roles & 50–950 ramp

primary
#B5A830
secondary
#7A81C7
accent
#56E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A830

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

Preview Lab → · Contrast checker → · Palette generator →

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