#B4C74A#B4C74A

#B4C74A is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.150 H 117.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#B4C74A
RGBrgb(180, 199, 74)
HSLhsl(69, 53%, 54%)
HSVhsv(69, 63%, 78%)
CMYKcmyk(9.5%, 0%, 62.8%, 22%)
CIE-LABlab(76.71, -23.40, 58.42)
CIE-LCHlch(76.71, 62.93, 111.83°)
OKLaboklab(79.11% -0.0688 0.1333)
OKLCHoklch(79.11% 0.15 117.3)
XYZxyz(40.4826, 51.0450, 14.1973)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C74A #5D4AC7
analogous
#C79B4A #B4C74A #75C74A
triadic
#B4C74A #4AB4C7 #C74AB4
tetradic
#B4C74A #4AC79B #5D4AC7 #C74A75
square
#B4C74A #4AC79B #5D4AC7 #C74A75
split-complementary
#B4C74A #4A75C7 #9B4AC7
monochromatic
#677324 #91A232 #B4C74A #C7D579 #DBE4A7

Accessibility & contrast

On white

1.87
#B4C74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#B4C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C74A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C74A#FFFFFF#000000##000000
##B4C74A1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3A
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#BEBDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c74a;
/* rgb */ color: rgb(180, 199, 74);
/* oklch */ color: oklch(79.1% 0.150 117.3);
Tailwind
colors: {
  custom: {
    50: '#cdd882',
    500: '#b4c74a',
    950: '#000000',
  },
}
SCSS
$custom: #b4c74a;
$custom-light: #cdd882;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c74a",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 69.12,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79114,
    "c": 0.14999,
    "h": 117.3
  },
  "luminance": 0.51045
}

Semantic roles & 50–950 ramp

primary
#B4C74A
secondary
#43397C
accent
#4CDC62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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