#B4A934#B4A934

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

Color values

HEX#B4A934
RGBrgb(180, 169, 52)
HSLhsl(55, 55%, 45%)
HSVhsv(55, 71%, 71%)
CMYKcmyk(0%, 6.1%, 71.1%, 29.4%)
CIE-LABlab(68.26, -9.55, 58.56)
CIE-LCHlch(68.26, 59.34, 99.26°)
OKLaboklab(72.31% -0.0321 0.1301)
OKLCHoklch(72.31% 0.134 103.9)
XYZxyz(33.6316, 38.3285, 8.8748)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A934 #343FB4
analogous
#B46934 #B4A934 #7FB434
triadic
#B4A934 #34B4A9 #A934B4
tetradic
#B4A934 #34B469 #343FB4 #B4347F
square
#B4A934 #34B469 #343FB4 #B4347F
split-complementary
#B4A934 #347FB4 #6934B4
monochromatic
#555019 #857C26 #B4A934 #CEC457 #DCD586

Accessibility & contrast

On white

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

On black

8.67
#B4A934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A934
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A934#FFFFFF#000000##000000
##B4A9341.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a934;
/* rgb */ color: rgb(180, 169, 52);
/* oklch */ color: oklch(72.3% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#cec273',
    500: '#b4a934',
    950: '#000000',
  },
}
SCSS
$custom: #b4a934;
$custom-light: #cec273;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a934",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 54.844,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72313,
    "c": 0.13402,
    "h": 103.9
  },
  "luminance": 0.38327
}

Semantic roles & 50–950 ramp

primary
#B4A934
secondary
#7E84C6
accent
#56DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A934

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

Preview Lab → · Contrast checker → · Palette generator →

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