#B4C340#B4C340

#B4C340 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.1% C 0.153 H 115.6°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#B4C340
RGBrgb(180, 195, 64)
HSLhsl(67, 52%, 51%)
HSVhsv(67, 67%, 76%)
CMYKcmyk(7.7%, 0%, 67.2%, 23.5%)
CIE-LABlab(75.52, -22.08, 61.21)
CIE-LCHlch(75.52, 65.07, 109.84°)
OKLaboklab(78.13% -0.0661 0.1377)
OKLCHoklch(78.13% 0.153 115.6)
XYZxyz(39.2639, 49.1043, 12.2592)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C340 #4F40C3
analogous
#C39040 #B4C340 #72C340
triadic
#B4C340 #40B4C3 #C340B4
tetradic
#B4C340 #40C390 #4F40C3 #C34072
square
#B4C340 #40C390 #4F40C3 #C34072
split-complementary
#B4C340 #4072C3 #9040C3
monochromatic
#606821 #8B972F #B4C340 #C6D26F #D9E09D

Accessibility & contrast

On white

1.94
#B4C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#B4C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C340
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C340#FFFFFF#000000##000000
##B4C3401.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#BFB8A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c340;
/* rgb */ color: rgb(180, 195, 64);
/* oklch */ color: oklch(78.1% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#ced57c',
    500: '#b4c340',
    950: '#000000',
  },
}
SCSS
$custom: #b4c340;
$custom-light: #ced57c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c340",
  "rgb": {
    "r": 180,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 66.87,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78134,
    "c": 0.15275,
    "h": 115.6
  },
  "luminance": 0.49104
}

Semantic roles & 50–950 ramp

primary
#B4C340
secondary
#9992CC
accent
#4CDC5D
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #B4C340

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

Preview Lab → · Contrast checker → · Palette generator →

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