#B4C62C#B4C62C

#B4C62C 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#B4C62C
RGBrgb(180, 198, 44)
HSLhsl(67, 64%, 47%)
HSVhsv(67, 78%, 78%)
CMYKcmyk(9.1%, 0%, 77.8%, 22.4%)
CIE-LABlab(76.24, -24.53, 68.77)
CIE-LCHlch(76.24, 73.02, 109.63°)
OKLaboklab(78.68% -0.0747 0.1503)
OKLCHoklch(78.68% 0.168 116.4)
XYZxyz(39.4722, 50.2739, 10.0068)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C62C #3E2CC6
analogous
#C68B2C #B4C62C #67C62C
triadic
#B4C62C #2CB4C6 #C62CB4
tetradic
#B4C62C #2CC68B #3E2CC6 #C62C67
square
#B4C62C #2CC68B #3E2CC6 #C62C67
split-complementary
#B4C62C #2C67C6 #8B2CC6
monochromatic
#596216 #869421 #B4C62C #CAD956 #DAE588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C62C#FFFFFF#000000##000000
##B4C62C1.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)
#D2BD3B
Tritanopia (blue-blind)
#C0BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c62c;
/* rgb */ color: rgb(180, 198, 44);
/* oklch */ color: oklch(78.7% 0.168 116.4);
Tailwind
colors: {
  custom: {
    50: '#ced773',
    500: '#b4c62c',
    950: '#000000',
  },
}
SCSS
$custom: #b4c62c;
$custom-light: #ced773;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c62c",
  "rgb": {
    "r": 180,
    "g": 198,
    "b": 44
  },
  "hsl": {
    "h": 67.013,
    "s": 63.636,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78676,
    "c": 0.16783,
    "h": 116.4
  },
  "luminance": 0.50273
}

Semantic roles & 50–950 ramp

primary
#B4C62C
secondary
#312A6D
accent
#41E754
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C62C

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

Preview Lab → · Contrast checker → · Palette generator →

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