#B4B229#B4B229

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

Color values

HEX#B4B229
RGBrgb(180, 178, 41)
HSLhsl(59, 63%, 43%)
HSVhsv(59, 77%, 71%)
CMYKcmyk(0%, 1.1%, 77.2%, 29.4%)
CIE-LABlab(70.67, -14.69, 64.64)
CIE-LCHlch(70.67, 66.29, 102.80°)
OKLaboklab(74.21% -0.0476 0.141)
OKLCHoklch(74.21% 0.149 108.7)
XYZxyz(35.1444, 41.7053, 8.2961)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B229 #292BB4
analogous
#B46C29 #B4B229 #70B429
triadic
#B4B229 #29B4B2 #B229B4
tetradic
#B4B229 #29B46C #292BB4 #B42970
square
#B4B229 #29B46C #292BB4 #B42970
split-complementary
#B4B229 #2970B4 #6C29B4
monochromatic
#504F12 #82811E #B4B229 #D5D345 #E0DF77

Accessibility & contrast

On white

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

On black

9.34
#B4B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B229
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B229#FFFFFF#000000##000000
##B4B2291.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b229;
/* rgb */ color: rgb(180, 178, 41);
/* oklch */ color: oklch(74.2% 0.149 108.7);
Tailwind
colors: {
  custom: {
    50: '#cec86f',
    500: '#b4b229',
    950: '#000000',
  },
}
SCSS
$custom: #b4b229;
$custom-light: #cec86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b229",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 59.137,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7421,
    "c": 0.14879,
    "h": 108.7
  },
  "luminance": 0.41704
}

Semantic roles & 50–950 ramp

primary
#B4B229
secondary
#7172C8
accent
#44E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B229

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

Preview Lab → · Contrast checker → · Palette generator →

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