#B5AA30#B5AA30

#B5AA30 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.137 H 104.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B5AA30
RGBrgb(181, 170, 48)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 73%, 71%)
CMYKcmyk(0%, 6.1%, 73.5%, 29%)
CIE-LABlab(68.60, -9.83, 60.40)
CIE-LCHlch(68.60, 61.20, 99.24°)
OKLaboklab(72.59% -0.0334 0.1332)
OKLCHoklch(72.59% 0.137 104.1)
XYZxyz(33.9657, 38.7880, 8.4934)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA30 #303BB5
analogous
#B56830 #B5AA30 #7DB530
triadic
#B5AA30 #30B5AA #AA30B5
tetradic
#B5AA30 #30B568 #303BB5 #B5307D
square
#B5AA30 #30B568 #303BB5 #B5307D
split-complementary
#B5AA30 #307DB5 #6830B5
monochromatic
#544F16 #857D23 #B5AA30 #D1C651 #DED682

Accessibility & contrast

On white

2.40
#B5AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B5AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA30
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA30#FFFFFF#000000##000000
##B5AA301.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#C39E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa30;
/* rgb */ color: rgb(181, 170, 48);
/* oklch */ color: oklch(72.6% 0.137 104.1);
Tailwind
colors: {
  custom: {
    50: '#cfc371',
    500: '#b5aa30',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa30;
$custom-light: #cfc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa30",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 55.038,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72592,
    "c": 0.13735,
    "h": 104.1
  },
  "luminance": 0.38787
}

Semantic roles & 50–950 ramp

primary
#B5AA30
secondary
#7A80C7
accent
#53E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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