#B4A933#B4A933

#B4A933 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.135 H 103.9°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B4A933
RGBrgb(180, 169, 51)
HSLhsl(55, 56%, 45%)
HSVhsv(55, 72%, 71%)
CMYKcmyk(0%, 6.1%, 71.7%, 29.4%)
CIE-LABlab(68.26, -9.60, 58.94)
CIE-LCHlch(68.26, 59.71, 99.25°)
OKLaboklab(72.3% -0.0324 0.1307)
OKLCHoklch(72.3% 0.135 103.9)
XYZxyz(33.6093, 38.3196, 8.7574)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A933 #333EB4
analogous
#B46933 #B4A933 #7EB433
triadic
#B4A933 #33B4A9 #A933B4
tetradic
#B4A933 #33B469 #333EB4 #B4337E
square
#B4A933 #33B469 #333EB4 #B4337E
split-complementary
#B4A933 #337EB4 #6933B4
monochromatic
#554F18 #847C25 #B4A933 #CFC555 #DCD585

Accessibility & contrast

On white

2.42
#B4A933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B4A933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A933
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A933#FFFFFF#000000##000000
##B4A9331.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31F
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#C29D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a933;
/* rgb */ color: rgb(180, 169, 51);
/* oklch */ color: oklch(72.3% 0.135 103.9);
Tailwind
colors: {
  custom: {
    50: '#cec273',
    500: '#b4a933',
    950: '#000000',
  },
}
SCSS
$custom: #b4a933;
$custom-light: #cec273;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a933",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 51
  },
  "hsl": {
    "h": 54.884,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72305,
    "c": 0.13468,
    "h": 103.9
  },
  "luminance": 0.38318
}

Semantic roles & 50–950 ramp

primary
#B4A933
secondary
#7D83C6
accent
#55DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A933

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

Preview Lab → · Contrast checker → · Palette generator →

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