#B4B22E#B4B22E

#B4B22E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.146 H 108.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B4B22E
RGBrgb(180, 178, 46)
HSLhsl(59, 59%, 44%)
HSVhsv(59, 74%, 71%)
CMYKcmyk(0%, 1.1%, 74.4%, 29.4%)
CIE-LABlab(70.69, -14.49, 63.05)
CIE-LCHlch(70.69, 64.69, 102.94°)
OKLaboklab(74.24% -0.0466 0.1385)
OKLCHoklch(74.24% 0.146 108.6)
XYZxyz(35.2373, 41.7425, 8.7852)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B22E #2E30B4
analogous
#B46F2E #B4B22E #73B42E
triadic
#B4B22E #2EB4B2 #B22EB4
tetradic
#B4B22E #2EB46F #2E30B4 #B42E73
square
#B4B22E #2EB46F #2E30B4 #B42E73
split-complementary
#B4B22E #2E73B4 #6F2EB4
monochromatic
#535215 #838222 #B4B22E #D2D04E #DEDD7E

Accessibility & contrast

On white

2.25
#B4B22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#B4B22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B22E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B22E#FFFFFF#000000##000000
##B4B22E1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB11
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b22e;
/* rgb */ color: rgb(180, 178, 46);
/* oklch */ color: oklch(74.2% 0.146 108.6);
Tailwind
colors: {
  custom: {
    50: '#cec871',
    500: '#b4b22e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b22e;
$custom-light: #cec871;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b22e",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 59.104,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.14614,
    "h": 108.6
  },
  "luminance": 0.41741
}

Semantic roles & 50–950 ramp

primary
#B4B22E
secondary
#7778C7
accent
#48E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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