#B4BD2C#B4BD2C

#B4BD2C is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.158 H 113.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B4BD2C
RGBrgb(180, 189, 44)
HSLhsl(64, 62%, 46%)
HSVhsv(64, 77%, 74%)
CMYKcmyk(4.8%, 0%, 76.7%, 25.9%)
CIE-LABlab(73.73, -20.12, 66.49)
CIE-LCHlch(73.73, 69.47, 106.83°)
OKLaboklab(76.66% -0.0624 0.1455)
OKLCHoklch(76.66% 0.158 113.2)
XYZxyz(37.4758, 46.2812, 9.3414)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD2C #352CBD
analogous
#BD7D2C #B4BD2C #6BBD2C
triadic
#B4BD2C #2CB4BD #BD2CB4
tetradic
#B4BD2C #2CBD7D #352CBD #BD2C6B
square
#B4BD2C #2CBD7D #352CBD #BD2C6B
split-complementary
#B4BD2C #2C6BBD #7D2CBD
monochromatic
#555A15 #858B20 #B4BD2C #CED650 #DCE282

Accessibility & contrast

On white

2.05
#B4BD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B4BD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD2C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD2C#FFFFFF#000000##000000
##B4BD2C1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB401
Deuteranopia (green-blind)
#CBB739
Tritanopia (blue-blind)
#C0B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd2c;
/* rgb */ color: rgb(180, 189, 44);
/* oklch */ color: oklch(76.7% 0.158 113.2);
Tailwind
colors: {
  custom: {
    50: '#ced071',
    500: '#b4bd2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd2c;
$custom-light: #ced071;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd2c",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 44
  },
  "hsl": {
    "h": 63.724,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76662,
    "c": 0.1583,
    "h": 113.2
  },
  "luminance": 0.4628
}

Semantic roles & 50–950 ramp

primary
#B4BD2C
secondary
#7F7ACB
accent
#42E54D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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