#B4B030#B4B030

#B4B030 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.143 H 107.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B4B030
RGBrgb(180, 176, 48)
HSLhsl(58, 58%, 45%)
HSVhsv(58, 73%, 71%)
CMYKcmyk(0%, 2.2%, 73.3%, 29.4%)
CIE-LABlab(70.15, -13.37, 61.85)
CIE-LCHlch(70.15, 63.28, 102.20°)
OKLaboklab(73.81% -0.0433 0.1363)
OKLCHoklch(73.81% 0.143 107.6)
XYZxyz(34.8826, 40.9685, 8.8660)
Luminance0.4097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B030 #3034B4
analogous
#B46E30 #B4B030 #76B430
triadic
#B4B030 #30B4B0 #B030B4
tetradic
#B4B030 #30B46E #3034B4 #B43076
square
#B4B030 #30B46E #3034B4 #B43076
split-complementary
#B4B030 #3076B4 #6E30B4
monochromatic
#535216 #848123 #B4B030 #D1CD51 #DDDB81

Accessibility & contrast

On white

2.28
#B4B030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B4B030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B030
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B030#FFFFFF#000000##000000
##B4B0301.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#C1A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4b030;
/* rgb */ color: rgb(180, 176, 48);
/* oklch */ color: oklch(73.8% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#cec772',
    500: '#b4b030',
    950: '#000000',
  },
}
SCSS
$custom: #b4b030;
$custom-light: #cec772;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b030",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 48
  },
  "hsl": {
    "h": 58.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73812,
    "c": 0.14305,
    "h": 107.6
  },
  "luminance": 0.40967
}

Semantic roles & 50–950 ramp

primary
#B4B030
secondary
#797CC6
accent
#4BE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B030

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

Preview Lab → · Contrast checker → · Palette generator →

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