#B4A233#B4A233

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

Color values

HEX#B4A233
RGBrgb(180, 162, 51)
HSLhsl(52, 56%, 45%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 10%, 71.7%, 29.4%)
CIE-LABlab(66.35, -5.91, 57.07)
CIE-LCHlch(66.35, 57.38, 95.91°)
OKLaboklab(70.8% -0.0219 0.1268)
OKLCHoklch(70.8% 0.129 99.8)
XYZxyz(32.3418, 35.7845, 8.3349)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A233 #3345B4
analogous
#B46133 #B4A233 #85B433
triadic
#B4A233 #33B4A2 #A233B4
tetradic
#B4A233 #33B461 #3345B4 #B43385
square
#B4A233 #33B461 #3345B4 #B43385
split-complementary
#B4A233 #3385B4 #6133B4
monochromatic
#554C18 #847725 #B4A233 #CFBE55 #DCD085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A233#FFFFFF#000000##000000
##B4A2331.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)
#B29E22
Deuteranopia (green-blind)
#B7A43A
Tritanopia (blue-blind)
#C2968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a233;
/* rgb */ color: rgb(180, 162, 51);
/* oklch */ color: oklch(70.8% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#cebd72',
    500: '#b4a233',
    950: '#000000',
  },
}
SCSS
$custom: #b4a233;
$custom-light: #cebd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a233",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 51.628,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.12866,
    "h": 99.8
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4A233

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

Preview Lab → · Contrast checker → · Palette generator →

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