#B4C159#B4C159

#B4C159 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.130 H 115.4°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#B4C159
RGBrgb(180, 193, 89)
HSLhsl(68, 46%, 55%)
HSVhsv(68, 54%, 76%)
CMYKcmyk(6.7%, 0%, 53.9%, 24.3%)
CIE-LABlab(75.18, -19.27, 50.08)
CIE-LCHlch(75.18, 53.66, 111.05°)
OKLaboklab(77.94% -0.0557 0.1173)
OKLCHoklch(77.94% 0.13 115.4)
XYZxyz(39.6962, 48.5650, 16.7321)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C159 #6659C1
analogous
#C19A59 #B4C159 #80C159
triadic
#B4C159 #59B4C1 #C159B4
tetradic
#B4C159 #59C19A #6659C1 #C15980
square
#B4C159 #59C19A #6659C1 #C15980
split-complementary
#B4C159 #5980C1 #9A59C1
monochromatic
#6B742B #94A13C #B4C159 #C8D286 #DCE2B2

Accessibility & contrast

On white

1.96
#B4C159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#B4C159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C159
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C159#FFFFFF#000000##000000
##B4C1591.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84F
Deuteranopia (green-blind)
#CCBA5F
Tritanopia (blue-blind)
#BEB7AA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c159;
/* rgb */ color: rgb(180, 193, 89);
/* oklch */ color: oklch(77.9% 0.130 115.4);
Tailwind
colors: {
  custom: {
    50: '#ccd38b',
    500: '#b4c159',
    950: '#000000',
  },
}
SCSS
$custom: #b4c159;
$custom-light: #ccd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c159",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 67.5,
    "s": 45.614,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77935,
    "c": 0.12984,
    "h": 115.4
  },
  "luminance": 0.48564
}

Semantic roles & 50–950 ramp

primary
#B4C159
secondary
#ABA5D1
accent
#53D563
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B4C159

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

Preview Lab → · Contrast checker → · Palette generator →

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