#B4C74B#B4C74B

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

Color values

HEX#B4C74B
RGBrgb(180, 199, 75)
HSLhsl(69, 53%, 54%)
HSVhsv(69, 62%, 78%)
CMYKcmyk(9.5%, 0%, 62.3%, 22%)
CIE-LABlab(76.71, -23.33, 58.01)
CIE-LCHlch(76.71, 62.53, 111.91°)
OKLaboklab(79.12% -0.0685 0.1326)
OKLCHoklch(79.12% 0.149 117.3)
XYZxyz(40.5166, 51.0586, 14.3761)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C74B #5E4BC7
analogous
#C79C4B #B4C74B #76C74B
triadic
#B4C74B #4BB4C7 #C74BB4
tetradic
#B4C74B #4BC79C #5E4BC7 #C74B76
square
#B4C74B #4BC79C #5E4BC7 #C74B76
split-complementary
#B4C74B #4B76C7 #9C4BC7
monochromatic
#677424 #91A232 #B4C74B #C7D67A #DBE4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C74B#FFFFFF#000000##000000
##B4C74B1.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)
#D4BD3C
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#BEBDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c74b;
/* rgb */ color: rgb(180, 199, 75);
/* oklch */ color: oklch(79.1% 0.149 117.3);
Tailwind
colors: {
  custom: {
    50: '#cdd883',
    500: '#b4c74b',
    950: '#000000',
  },
}
SCSS
$custom: #b4c74b;
$custom-light: #cdd883;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c74b",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 69.194,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79123,
    "c": 0.14921,
    "h": 117.3
  },
  "luminance": 0.51058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4C74B

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

Preview Lab → · Contrast checker → · Palette generator →

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