#B4A234#B4A234

#B4A234 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.128 H 99.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B4A234
RGBrgb(180, 162, 52)
HSLhsl(52, 55%, 45%)
HSVhsv(52, 71%, 71%)
CMYKcmyk(0%, 10%, 71.1%, 29.4%)
CIE-LABlab(66.36, -5.86, 56.69)
CIE-LCHlch(66.36, 56.99, 95.90°)
OKLaboklab(70.8% -0.0217 0.1261)
OKLCHoklch(70.8% 0.128 99.8)
XYZxyz(32.3641, 35.7934, 8.4522)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A234 #3446B4
analogous
#B46234 #B4A234 #86B434
triadic
#B4A234 #34B4A2 #A234B4
tetradic
#B4A234 #34B462 #3446B4 #B43486
square
#B4A234 #34B462 #3446B4 #B43486
split-complementary
#B4A234 #3486B4 #6234B4
monochromatic
#554D19 #857726 #B4A234 #CEBE57 #DCD086

Accessibility & contrast

On white

2.57
#B4A234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B4A234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A234
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A234#FFFFFF#000000##000000
##B4A2341.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B7A43B
Tritanopia (blue-blind)
#C2968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a234;
/* rgb */ color: rgb(180, 162, 52);
/* oklch */ color: oklch(70.8% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#cebd72',
    500: '#b4a234',
    950: '#000000',
  },
}
SCSS
$custom: #b4a234;
$custom-light: #cebd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a234",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 51.563,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.12799,
    "h": 99.8
  },
  "luminance": 0.35792
}

Semantic roles & 50–950 ramp

primary
#B4A234
secondary
#7E88C6
accent
#5EDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A234

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

Preview Lab → · Contrast checker → · Palette generator →

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