#B4C22F#B4C22F

#B4C22F is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.162 H 115.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#B4C22F
RGBrgb(180, 194, 47)
HSLhsl(66, 61%, 47%)
HSVhsv(66, 76%, 76%)
CMYKcmyk(7.2%, 0%, 75.8%, 23.9%)
CIE-LABlab(75.13, -22.46, 66.85)
CIE-LCHlch(75.13, 70.52, 108.57°)
OKLaboklab(77.8% -0.0687 0.1468)
OKLCHoklch(77.8% 0.162 115.1)
XYZxyz(38.6284, 48.4928, 10.0139)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C22F #3D2FC2
analogous
#C2862F #B4C22F #6BC22F
triadic
#B4C22F #2FB4C2 #C22FB4
tetradic
#B4C22F #2FC286 #3D2FC2 #C22F6B
square
#B4C22F #2FC286 #3D2FC2 #C22F6B
split-complementary
#B4C22F #2F6BC2 #862FC2
monochromatic
#595F17 #869123 #B4C22F #CAD658 #DAE289

Accessibility & contrast

On white

1.96
#B4C22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#B4C22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C22F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C22F#FFFFFF#000000##000000
##B4C22F1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B807
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C0B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c22f;
/* rgb */ color: rgb(180, 194, 47);
/* oklch */ color: oklch(77.8% 0.162 115.1);
Tailwind
colors: {
  custom: {
    50: '#ced473',
    500: '#b4c22f',
    950: '#000000',
  },
}
SCSS
$custom: #b4c22f;
$custom-light: #ced473;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c22f",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 65.714,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.16203,
    "h": 115.1
  },
  "luminance": 0.48492
}

Semantic roles & 50–950 ramp

primary
#B4C22F
secondary
#8881CC
accent
#44E453
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C22F

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

Preview Lab → · Contrast checker → · Palette generator →

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