#B4A833#B4A833

#B4A833 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.134 H 103.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B4A833
RGBrgb(180, 168, 51)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 6.7%, 71.7%, 29.4%)
CIE-LABlab(67.98, -9.08, 58.67)
CIE-LCHlch(67.98, 59.37, 98.79°)
OKLaboklab(72.09% -0.0309 0.1302)
OKLCHoklch(72.09% 0.134 103.4)
XYZxyz(33.4240, 37.9490, 8.6956)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A833 #333FB4
analogous
#B46833 #B4A833 #7FB433
triadic
#B4A833 #33B4A8 #A833B4
tetradic
#B4A833 #33B468 #333FB4 #B4337F
square
#B4A833 #33B468 #333FB4 #B4337F
split-complementary
#B4A833 #337FB4 #6833B4
monochromatic
#554F18 #847B25 #B4A833 #CFC455 #DCD485

Accessibility & contrast

On white

2.44
#B4A833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B4A833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A833
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A833#FFFFFF#000000##000000
##B4A8331.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A220
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#C29C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a833;
/* rgb */ color: rgb(180, 168, 51);
/* oklch */ color: oklch(72.1% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#cec172',
    500: '#b4a833',
    950: '#000000',
  },
}
SCSS
$custom: #b4a833;
$custom-light: #cec172;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a833",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 54.419,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.13378,
    "h": 103.4
  },
  "luminance": 0.37948
}

Semantic roles & 50–950 ramp

primary
#B4A833
secondary
#7D84C6
accent
#57DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A833

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

Preview Lab → · Contrast checker → · Palette generator →

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