#B4A834#B4A834

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

Color values

HEX#B4A834
RGBrgb(180, 168, 52)
HSLhsl(54, 55%, 45%)
HSVhsv(54, 71%, 71%)
CMYKcmyk(0%, 6.7%, 71.1%, 29.4%)
CIE-LABlab(67.99, -9.03, 58.30)
CIE-LCHlch(67.99, 58.99, 98.80°)
OKLaboklab(72.1% -0.0307 0.1296)
OKLCHoklch(72.1% 0.133 103.3)
XYZxyz(33.4463, 37.9579, 8.8130)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A834 #3440B4
analogous
#B46834 #B4A834 #80B434
triadic
#B4A834 #34B4A8 #A834B4
tetradic
#B4A834 #34B468 #3440B4 #B43480
square
#B4A834 #34B468 #3440B4 #B43480
split-complementary
#B4A834 #3480B4 #6834B4
monochromatic
#554F19 #857C26 #B4A834 #CEC357 #DCD486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A834#FFFFFF#000000##000000
##B4A8341.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)
#B7A221
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#C29C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a834;
/* rgb */ color: rgb(180, 168, 52);
/* oklch */ color: oklch(72.1% 0.133 103.3);
Tailwind
colors: {
  custom: {
    50: '#cec173',
    500: '#b4a834',
    950: '#000000',
  },
}
SCSS
$custom: #b4a834;
$custom-light: #cec173;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a834",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 54.375,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72096,
    "c": 0.13313,
    "h": 103.3
  },
  "luminance": 0.37956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4A834

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

Preview Lab → · Contrast checker → · Palette generator →

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