#B4A829#B4A829

#B4A829 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.140 H 103.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B4A829
RGBrgb(180, 168, 41)
HSLhsl(55, 63%, 43%)
HSVhsv(55, 77%, 71%)
CMYKcmyk(0%, 6.7%, 77.2%, 29.4%)
CIE-LABlab(67.92, -9.52, 62.15)
CIE-LCHlch(67.92, 62.87, 98.71°)
OKLaboklab(72.02% -0.0331 0.1356)
OKLCHoklch(72.02% 0.14 103.7)
XYZxyz(33.2268, 37.8701, 7.6568)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A829 #2935B4
analogous
#B46229 #B4A829 #7AB429
triadic
#B4A829 #29B4A8 #A829B4
tetradic
#B4A829 #29B462 #2935B4 #B4297A
square
#B4A829 #29B462 #2935B4 #B4297A
split-complementary
#B4A829 #297AB4 #6229B4
monochromatic
#504B12 #82791E #B4A829 #D5C845 #E0D777

Accessibility & contrast

On white

2.45
#B4A829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B4A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A829
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A829#FFFFFF#000000##000000
##B4A8291.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A209
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#C29C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a829;
/* rgb */ color: rgb(180, 168, 41);
/* oklch */ color: oklch(72.0% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec16e',
    500: '#b4a829',
    950: '#000000',
  },
}
SCSS
$custom: #b4a829;
$custom-light: #cec16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a829",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 54.82,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72024,
    "c": 0.13963,
    "h": 103.7
  },
  "luminance": 0.37869
}

Semantic roles & 50–950 ramp

primary
#B4A829
secondary
#7178C8
accent
#50E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A829

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

Preview Lab → · Contrast checker → · Palette generator →

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