#B4B330#B4B330

#B4B330 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.146 H 109.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B4B330
RGBrgb(180, 179, 48)
HSLhsl(60, 58%, 45%)
HSVhsv(60, 73%, 71%)
CMYKcmyk(0%, 0.6%, 73.3%, 29.4%)
CIE-LABlab(70.98, -14.91, 62.64)
CIE-LCHlch(70.98, 64.39, 103.39°)
OKLaboklab(74.47% -0.0476 0.138)
OKLCHoklch(74.47% 0.146 109)
XYZxyz(35.4773, 42.1580, 9.0642)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B330 #3031B4
analogous
#B47130 #B4B330 #73B430
triadic
#B4B330 #30B4B3 #B330B4
tetradic
#B4B330 #30B471 #3031B4 #B43073
square
#B4B330 #30B471 #3031B4 #B43073
split-complementary
#B4B330 #3073B4 #7130B4
monochromatic
#535316 #848323 #B4B330 #D1D051 #DDDD81

Accessibility & contrast

On white

2.23
#B4B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B4B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B330
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B330#FFFFFF#000000##000000
##B4B3301.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB15
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b330;
/* rgb */ color: rgb(180, 179, 48);
/* oklch */ color: oklch(74.5% 0.146 109.0);
Tailwind
colors: {
  custom: {
    50: '#cec972',
    500: '#b4b330',
    950: '#000000',
  },
}
SCSS
$custom: #b4b330;
$custom-light: #cec972;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b330",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 59.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.14598,
    "h": 109
  },
  "luminance": 0.42157
}

Semantic roles & 50–950 ramp

primary
#B4B330
secondary
#797AC6
accent
#48E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B330

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

Preview Lab → · Contrast checker → · Palette generator →

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