#B4C847#B4C847

#B4C847 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.153 H 117.6°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#B4C847
RGBrgb(180, 200, 71)
HSLhsl(69, 54%, 53%)
HSVhsv(69, 65%, 78%)
CMYKcmyk(10%, 0%, 64.5%, 21.6%)
CIE-LABlab(76.96, -24.09, 59.93)
CIE-LCHlch(76.96, 64.59, 111.90°)
OKLaboklab(79.31% -0.071 0.136)
OKLCHoklch(79.31% 0.153 117.6)
XYZxyz(40.6148, 51.4672, 13.7546)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C847 #5B47C8
analogous
#C89B47 #B4C847 #73C847
triadic
#B4C847 #47B4C8 #C847B4
tetradic
#B4C847 #47C89B #5B47C8 #C84773
square
#B4C847 #47C89B #5B47C8 #C84773
split-complementary
#B4C847 #4773C8 #9B47C8
monochromatic
#667222 #90A230 #B4C847 #C7D676 #DAE4A5

Accessibility & contrast

On white

1.86
#B4C847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#B4C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C847
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C847#FFFFFF#000000##000000
##B4C8471.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE36
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#BEBDAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c847;
/* rgb */ color: rgb(180, 200, 71);
/* oklch */ color: oklch(79.3% 0.153 117.6);
Tailwind
colors: {
  custom: {
    50: '#cdd880',
    500: '#b4c847',
    950: '#000000',
  },
}
SCSS
$custom: #b4c847;
$custom-light: #cdd880;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c847",
  "rgb": {
    "r": 180,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 69.302,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79311,
    "c": 0.15346,
    "h": 117.6
  },
  "luminance": 0.51467
}

Semantic roles & 50–950 ramp

primary
#B4C847
secondary
#42387B
accent
#4ADD61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C847

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

Preview Lab → · Contrast checker → · Palette generator →

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