#B4C62B#B4C62B

#B4C62B is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.7% C 0.168 H 116.4°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#B4C62B
RGBrgb(180, 198, 43)
HSLhsl(67, 64%, 47%)
HSVhsv(67, 78%, 78%)
CMYKcmyk(9.1%, 0%, 78.3%, 22.4%)
CIE-LABlab(76.23, -24.57, 69.06)
CIE-LCHlch(76.23, 73.30, 109.59°)
OKLaboklab(78.67% -0.0748 0.1508)
OKLCHoklch(78.67% 0.168 116.4)
XYZxyz(39.4536, 50.2665, 9.9090)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C62B #3D2BC6
analogous
#C68B2B #B4C62B #66C62B
triadic
#B4C62B #2BB4C6 #C62BB4
tetradic
#B4C62B #2BC68B #3D2BC6 #C62B66
square
#B4C62B #2BC68B #3D2BC6 #C62B66
split-complementary
#B4C62B #2B66C6 #8B2BC6
monochromatic
#596115 #869420 #B4C62B #CADA54 #DAE587

Accessibility & contrast

On white

1.90
#B4C62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#B4C62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C62B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C62B#FFFFFF#000000##000000
##B4C62B1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#C0BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c62b;
/* rgb */ color: rgb(180, 198, 43);
/* oklch */ color: oklch(78.7% 0.168 116.4);
Tailwind
colors: {
  custom: {
    50: '#ced772',
    500: '#b4c62b',
    950: '#000000',
  },
}
SCSS
$custom: #b4c62b;
$custom-light: #ced772;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c62b",
  "rgb": {
    "r": 180,
    "g": 198,
    "b": 43
  },
  "hsl": {
    "h": 66.968,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78671,
    "c": 0.16831,
    "h": 116.4
  },
  "luminance": 0.50266
}

Semantic roles & 50–950 ramp

primary
#B4C62B
secondary
#31296C
accent
#40E754
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C62B

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

Preview Lab → · Contrast checker → · Palette generator →

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