#B4C845#B4C845

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

Color values

HEX#B4C845
RGBrgb(180, 200, 69)
HSLhsl(69, 54%, 53%)
HSVhsv(69, 66%, 78%)
CMYKcmyk(10%, 0%, 65.5%, 21.6%)
CIE-LABlab(76.95, -24.22, 60.71)
CIE-LCHlch(76.95, 65.37, 111.75°)
OKLaboklab(79.29% -0.0716 0.1374)
OKLCHoklch(79.29% 0.155 117.5)
XYZxyz(40.5517, 51.4419, 13.4221)
Luminance0.5144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C845 #5945C8
analogous
#C89A45 #B4C845 #73C845
triadic
#B4C845 #45B4C8 #C845B4
tetradic
#B4C845 #45C89A #5945C8 #C84573
square
#B4C845 #45C89A #5945C8 #C84573
split-complementary
#B4C845 #4573C8 #9A45C8
monochromatic
#657121 #8FA02F #B4C845 #C7D674 #DAE4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C845#FFFFFF#000000##000000
##B4C8451.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)
#D5BE33
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#BFBDAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c845;
/* rgb */ color: rgb(180, 200, 69);
/* oklch */ color: oklch(79.3% 0.155 117.5);
Tailwind
colors: {
  custom: {
    50: '#cdd87f',
    500: '#b4c845',
    950: '#000000',
  },
}
SCSS
$custom: #b4c845;
$custom-light: #cdd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c845",
  "rgb": {
    "r": 180,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 69.16,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79294,
    "c": 0.15494,
    "h": 117.5
  },
  "luminance": 0.51442
}

Semantic roles & 50–950 ramp

primary
#B4C845
secondary
#41377A
accent
#4ADE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C845

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

Preview Lab → · Contrast checker → · Palette generator →

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