#B4C04A#B4C04A

#B4C04A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.142 H 114.7°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B4C04A
RGBrgb(180, 192, 74)
HSLhsl(66, 48%, 52%)
HSVhsv(66, 61%, 75%)
CMYKcmyk(6.2%, 0%, 61.5%, 24.7%)
CIE-LABlab(74.76, -19.95, 56.33)
CIE-LCHlch(74.76, 59.76, 109.50°)
OKLaboklab(77.55% -0.0591 0.1289)
OKLCHoklch(77.55% 0.142 114.7)
XYZxyz(38.9089, 47.8976, 13.6727)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C04A #564AC0
analogous
#C0914A #B4C04A #79C04A
triadic
#B4C04A #4AB4C0 #C04AB4
tetradic
#B4C04A #4AC091 #564AC0 #C04A79
square
#B4C04A #4AC091 #564AC0 #C04A79
split-complementary
#B4C04A #4A79C0 #914AC0
monochromatic
#636B25 #8E9835 #B4C04A #C7D077 #DAE0A5

Accessibility & contrast

On white

1.98
#B4C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B4C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C04A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C04A#FFFFFF#000000##000000
##B4C04A1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#CCB952
Tritanopia (blue-blind)
#BFB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c04a;
/* rgb */ color: rgb(180, 192, 74);
/* oklch */ color: oklch(77.6% 0.142 114.7);
Tailwind
colors: {
  custom: {
    50: '#cdd282',
    500: '#b4c04a',
    950: '#000000',
  },
}
SCSS
$custom: #b4c04a;
$custom-light: #cdd282;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c04a",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 66.102,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77553,
    "c": 0.14178,
    "h": 114.7
  },
  "luminance": 0.47897
}

Semantic roles & 50–950 ramp

primary
#B4C04A
secondary
#9E99CD
accent
#50D85E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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