#B4C640#B4C640

#B4C640 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.8% C 0.156 H 116.7°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#B4C640
RGBrgb(180, 198, 64)
HSLhsl(68, 54%, 51%)
HSVhsv(68, 68%, 78%)
CMYKcmyk(9.1%, 0%, 67.7%, 22.4%)
CIE-LABlab(76.35, -23.55, 62.06)
CIE-LCHlch(76.35, 66.38, 110.78°)
OKLaboklab(78.81% -0.0702 0.1395)
OKLCHoklch(78.81% 0.156 116.7)
XYZxyz(39.9428, 50.4621, 12.4855)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C640 #5240C6
analogous
#C69540 #B4C640 #71C640
triadic
#B4C640 #40B4C6 #C640B4
tetradic
#B4C640 #40C695 #5240C6 #C64071
square
#B4C640 #40C695 #5240C6 #C64071
split-complementary
#B4C640 #4071C6 #9540C6
monochromatic
#616C20 #8C9B2E #B4C640 #C7D46F #D9E29E

Accessibility & contrast

On white

1.89
#B4C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#B4C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C640
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C640#FFFFFF#000000##000000
##B4C6401.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2C
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#BFBBAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c640;
/* rgb */ color: rgb(180, 198, 64);
/* oklch */ color: oklch(78.8% 0.156 116.7);
Tailwind
colors: {
  custom: {
    50: '#ced77c',
    500: '#b4c640',
    950: '#000000',
  },
}
SCSS
$custom: #b4c640;
$custom-light: #ced77c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c640",
  "rgb": {
    "r": 180,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 68.06,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78805,
    "c": 0.15616,
    "h": 116.7
  },
  "luminance": 0.50462
}

Semantic roles & 50–950 ramp

primary
#B4C640
secondary
#3E3575
accent
#4ADD5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4C640

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

Preview Lab → · Contrast checker → · Palette generator →

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