#B4C74C#B4C74C

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

Color values

HEX#B4C74C
RGBrgb(180, 199, 76)
HSLhsl(69, 52%, 54%)
HSVhsv(69, 62%, 78%)
CMYKcmyk(9.5%, 0%, 61.8%, 22%)
CIE-LABlab(76.72, -23.26, 57.60)
CIE-LCHlch(76.72, 62.12, 111.99°)
OKLaboklab(79.13% -0.0682 0.1318)
OKLCHoklch(79.13% 0.148 117.4)
XYZxyz(40.5511, 51.0724, 14.5578)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C74C #5F4CC7
analogous
#C79D4C #B4C74C #77C74C
triadic
#B4C74C #4CB4C7 #C74CB4
tetradic
#B4C74C #4CC79D #5F4CC7 #C74C77
square
#B4C74C #4CC79D #5F4CC7 #C74C77
split-complementary
#B4C74C #4C77C7 #9D4CC7
monochromatic
#687424 #92A333 #B4C74C #C8D67B #DBE4A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C74C#FFFFFF#000000##000000
##B4C74C1.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)
#D4BD3D
Deuteranopia (green-blind)
#D2BE54
Tritanopia (blue-blind)
#BEBDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c74c;
/* rgb */ color: rgb(180, 199, 76);
/* oklch */ color: oklch(79.1% 0.148 117.4);
Tailwind
colors: {
  custom: {
    50: '#cdd883',
    500: '#b4c74c',
    950: '#000000',
  },
}
SCSS
$custom: #b4c74c;
$custom-light: #cdd883;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c74c",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 69.268,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79132,
    "c": 0.14841,
    "h": 117.4
  },
  "luminance": 0.51072
}

Semantic roles & 50–950 ramp

primary
#B4C74C
secondary
#443A7D
accent
#4CDC62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C74C

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

Preview Lab → · Contrast checker → · Palette generator →

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