#B4AD30#B4AD30

#B4AD30 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.2% C 0.140 H 106.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B4AD30
RGBrgb(180, 173, 48)
HSLhsl(57, 58%, 45%)
HSVhsv(57, 73%, 71%)
CMYKcmyk(0%, 3.9%, 73.3%, 29.4%)
CIE-LABlab(69.33, -11.82, 61.07)
CIE-LCHlch(69.33, 62.21, 100.96°)
OKLaboklab(73.16% -0.039 0.1347)
OKLCHoklch(73.16% 0.14 106.1)
XYZxyz(34.3009, 39.8051, 8.6721)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AD30 #3037B4
analogous
#B46B30 #B4AD30 #79B430
triadic
#B4AD30 #30B4AD #AD30B4
tetradic
#B4AD30 #30B46B #3037B4 #B43079
square
#B4AD30 #30B46B #3037B4 #B43079
split-complementary
#B4AD30 #3079B4 #6B30B4
monochromatic
#535016 #847F23 #B4AD30 #D1CA51 #DDD981

Accessibility & contrast

On white

2.34
#B4AD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B4AD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AD30
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AD30#FFFFFF#000000##000000
##B4AD301.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA618
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#C1A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ad30;
/* rgb */ color: rgb(180, 173, 48);
/* oklch */ color: oklch(73.2% 0.140 106.1);
Tailwind
colors: {
  custom: {
    50: '#cec571',
    500: '#b4ad30',
    950: '#000000',
  },
}
SCSS
$custom: #b4ad30;
$custom-light: #cec571;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ad30",
  "rgb": {
    "r": 180,
    "g": 173,
    "b": 48
  },
  "hsl": {
    "h": 56.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73155,
    "c": 0.1402,
    "h": 106.1
  },
  "luminance": 0.39804
}

Semantic roles & 50–950 ramp

primary
#B4AD30
secondary
#797DC6
accent
#4FE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AD30

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

Preview Lab → · Contrast checker → · Palette generator →

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