#B4A22E#B4A22E

#B4A22E is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.132 H 100.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B4A22E
RGBrgb(180, 162, 46)
HSLhsl(52, 59%, 44%)
HSVhsv(52, 74%, 71%)
CMYKcmyk(0%, 10%, 74.4%, 29.4%)
CIE-LABlab(66.32, -6.15, 58.93)
CIE-LCHlch(66.32, 59.25, 95.95°)
OKLaboklab(70.76% -0.0231 0.1298)
OKLCHoklch(70.76% 0.132 100.1)
XYZxyz(32.2374, 35.7427, 7.7852)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A22E #2E40B4
analogous
#B45F2E #B4A22E #83B42E
triadic
#B4A22E #2EB4A2 #A22EB4
tetradic
#B4A22E #2EB45F #2E40B4 #B42E83
square
#B4A22E #2EB45F #2E40B4 #B42E83
split-complementary
#B4A22E #2E83B4 #5F2EB4
monochromatic
#534A15 #837622 #B4A22E #D2C04E #DED17E

Accessibility & contrast

On white

2.58
#B4A22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B4A22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A22E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A22E#FFFFFF#000000##000000
##B4A22E1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a22e;
/* rgb */ color: rgb(180, 162, 46);
/* oklch */ color: oklch(70.8% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#cebd6f',
    500: '#b4a22e',
    950: '#000000',
  },
}
SCSS
$custom: #b4a22e;
$custom-light: #cebd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a22e",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 51.94,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.13181,
    "h": 100.1
  },
  "luminance": 0.35741
}

Semantic roles & 50–950 ramp

primary
#B4A22E
secondary
#7782C7
accent
#5AE245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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