#B4C52F#B4C52F

#B4C52F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.5% C 0.165 H 116.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#B4C52F
RGBrgb(180, 197, 47)
HSLhsl(67, 61%, 48%)
HSVhsv(67, 76%, 77%)
CMYKcmyk(8.6%, 0%, 76.1%, 22.7%)
CIE-LABlab(75.97, -23.93, 67.62)
CIE-LCHlch(75.97, 71.73, 109.48°)
OKLaboklab(78.47% -0.0727 0.1484)
OKLCHoklch(78.47% 0.165 116.1)
XYZxyz(39.3028, 49.8416, 10.2387)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C52F #402FC5
analogous
#C58B2F #B4C52F #69C52F
triadic
#B4C52F #2FB4C5 #C52FB4
tetradic
#B4C52F #2FC58B #402FC5 #C52F69
square
#B4C52F #2FC58B #402FC5 #C52F69
split-complementary
#B4C52F #2F69C5 #8B2FC5
monochromatic
#5A6217 #879423 #B4C52F #C9D85A #D9E38B

Accessibility & contrast

On white

1.91
#B4C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#B4C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C52F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C52F#FFFFFF#000000##000000
##B4C52F1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB04
Deuteranopia (green-blind)
#D2BC3D
Tritanopia (blue-blind)
#C0BAA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b4c52f;
/* rgb */ color: rgb(180, 197, 47);
/* oklch */ color: oklch(78.5% 0.165 116.1);
Tailwind
colors: {
  custom: {
    50: '#ced674',
    500: '#b4c52f',
    950: '#000000',
  },
}
SCSS
$custom: #b4c52f;
$custom-light: #ced674;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c52f",
  "rgb": {
    "r": 180,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 66.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78468,
    "c": 0.16526,
    "h": 116.1
  },
  "luminance": 0.49841
}

Semantic roles & 50–950 ramp

primary
#B4C52F
secondary
#8B82CD
accent
#43E556
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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