#B4A430#B4A430

#B4A430 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.132 H 101.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B4A430
RGBrgb(180, 164, 48)
HSLhsl(53, 58%, 45%)
HSVhsv(53, 73%, 71%)
CMYKcmyk(0%, 8.9%, 73.3%, 29.4%)
CIE-LABlab(66.88, -7.11, 58.72)
CIE-LCHlch(66.88, 59.15, 96.91°)
OKLaboklab(71.2% -0.0257 0.1297)
OKLCHoklch(71.2% 0.132 101.2)
XYZxyz(32.6329, 36.4691, 8.1161)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A430 #3040B4
analogous
#B46230 #B4A430 #82B430
triadic
#B4A430 #30B4A4 #A430B4
tetradic
#B4A430 #30B462 #3040B4 #B43082
square
#B4A430 #30B462 #3040B4 #B43082
split-complementary
#B4A430 #3082B4 #6230B4
monochromatic
#534C16 #847823 #B4A430 #D1C151 #DDD281

Accessibility & contrast

On white

2.53
#B4A430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B4A430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A430
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A430#FFFFFF#000000##000000
##B4A4301.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a430;
/* rgb */ color: rgb(180, 164, 48);
/* oklch */ color: oklch(71.2% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#cebe70',
    500: '#b4a430',
    950: '#000000',
  },
}
SCSS
$custom: #b4a430;
$custom-light: #cebe70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a430",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 52.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71204,
    "c": 0.13223,
    "h": 101.2
  },
  "luminance": 0.36468
}

Semantic roles & 50–950 ramp

primary
#B4A430
secondary
#7983C6
accent
#59E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A430

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

Preview Lab → · Contrast checker → · Palette generator →

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