#B4BD22#B4BD22

#B4BD22 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.6% C 0.163 H 113.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#B4BD22
RGBrgb(180, 189, 34)
HSLhsl(63, 70%, 44%)
HSVhsv(63, 82%, 74%)
CMYKcmyk(4.8%, 0%, 82%, 25.9%)
CIE-LABlab(73.68, -20.47, 69.26)
CIE-LCHlch(73.68, 72.22, 106.47°)
OKLaboklab(76.61% -0.0642 0.1496)
OKLCHoklch(76.61% 0.163 113.2)
XYZxyz(37.3100, 46.2148, 8.4680)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD22 #2B22BD
analogous
#BD7822 #B4BD22 #66BD22
triadic
#B4BD22 #22B4BD #BD22B4
tetradic
#B4BD22 #22BD78 #2B22BD #BD2266
square
#B4BD22 #22BD78 #2B22BD #BD2266
split-complementary
#B4BD22 #2266BD #7822BD
monochromatic
#51550F #838919 #B4BD22 #D3DD40 #DFE673

Accessibility & contrast

On white

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

On black

10.24
#B4BD22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD22
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD22#FFFFFF#000000##000000
##B4BD221.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CCB732
Tritanopia (blue-blind)
#C1B1A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd22;
/* rgb */ color: rgb(180, 189, 34);
/* oklch */ color: oklch(76.6% 0.163 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd06d',
    500: '#b4bd22',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd22;
$custom-light: #cfd06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd22",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 63.484,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76614,
    "c": 0.16281,
    "h": 113.2
  },
  "luminance": 0.46214
}

Semantic roles & 50–950 ramp

primary
#B4BD22
secondary
#736ECD
accent
#3BEC46
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BD22

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

Preview Lab → · Contrast checker → · Palette generator →

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