#B4C540#B4C540

#B4C540 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.155 H 116.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B4C540
RGBrgb(180, 197, 64)
HSLhsl(68, 53%, 51%)
HSVhsv(68, 68%, 77%)
CMYKcmyk(8.6%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.07, -23.07, 61.78)
CIE-LCHlch(76.07, 65.94, 110.47°)
OKLaboklab(78.58% -0.0688 0.1389)
OKLCHoklch(78.58% 0.155 116.4)
XYZxyz(39.7150, 50.0065, 12.4095)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C540 #5140C5
analogous
#C59340 #B4C540 #71C540
triadic
#B4C540 #40B4C5 #C540B4
tetradic
#B4C540 #40C593 #5140C5 #C54071
square
#B4C540 #40C593 #5140C5 #C54071
split-complementary
#B4C540 #4071C5 #9340C5
monochromatic
#616A20 #8C992F #B4C540 #C6D36F #D9E29E

Accessibility & contrast

On white

1.91
#B4C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#B4C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C540
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C540#FFFFFF#000000##000000
##B4C5401.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#D1BC4A
Tritanopia (blue-blind)
#BFBAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c540;
/* rgb */ color: rgb(180, 197, 64);
/* oklch */ color: oklch(78.6% 0.155 116.4);
Tailwind
colors: {
  custom: {
    50: '#ced67c',
    500: '#b4c540',
    950: '#000000',
  },
}
SCSS
$custom: #b4c540;
$custom-light: #ced67c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c540",
  "rgb": {
    "r": 180,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 67.669,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78581,
    "c": 0.15502,
    "h": 116.4
  },
  "luminance": 0.50006
}

Semantic roles & 50–950 ramp

primary
#B4C540
secondary
#3D3574
accent
#4BDD5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4C540

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

Preview Lab → · Contrast checker → · Palette generator →

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