#B4C059#B4C059

#B4C059 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.7% C 0.129 H 115.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#B4C059
RGBrgb(180, 192, 89)
HSLhsl(67, 45%, 55%)
HSVhsv(67, 54%, 75%)
CMYKcmyk(6.2%, 0%, 53.6%, 24.7%)
CIE-LABlab(74.90, -18.77, 49.76)
CIE-LCHlch(74.90, 53.19, 110.67°)
OKLaboklab(77.71% -0.0543 0.1166)
OKLCHoklch(77.71% 0.129 115)
XYZxyz(39.4759, 48.1244, 16.6586)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C059 #6559C0
analogous
#C09859 #B4C059 #81C059
triadic
#B4C059 #59B4C0 #C059B4
tetradic
#B4C059 #59C098 #6559C0 #C05981
square
#B4C059 #59C098 #6559C0 #C05981
split-complementary
#B4C059 #5981C0 #9859C0
monochromatic
#6B732C #949F3C #B4C059 #C8D185 #DCE2B2

Accessibility & contrast

On white

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

On black

10.62
#B4C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C059
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C059#FFFFFF#000000##000000
##B4C0591.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB84F
Deuteranopia (green-blind)
#CBB95F
Tritanopia (blue-blind)
#BEB6A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c059;
/* rgb */ color: rgb(180, 192, 89);
/* oklch */ color: oklch(77.7% 0.129 115.0);
Tailwind
colors: {
  custom: {
    50: '#ccd28b',
    500: '#b4c059',
    950: '#000000',
  },
}
SCSS
$custom: #b4c059;
$custom-light: #ccd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c059",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 66.99,
    "s": 44.978,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77714,
    "c": 0.12862,
    "h": 115
  },
  "luminance": 0.48124
}

Semantic roles & 50–950 ramp

primary
#B4C059
secondary
#AAA5D0
accent
#53D562
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B4C059

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

Preview Lab → · Contrast checker → · Palette generator →

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