#B4C462#B4C462

#B4C462 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.7% C 0.125 H 117.0°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#B4C462
RGBrgb(180, 196, 98)
HSLhsl(70, 45%, 58%)
HSVhsv(70, 50%, 77%)
CMYKcmyk(8.2%, 0%, 50%, 23.1%)
CIE-LABlab(76.11, -19.95, 46.91)
CIE-LCHlch(76.11, 50.98, 113.04°)
OKLaboklab(78.71% -0.0567 0.1112)
OKLCHoklch(78.71% 0.125 117)
XYZxyz(40.7674, 50.0654, 19.0689)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C462 #7262C4
analogous
#C4A362 #B4C462 #83C462
triadic
#B4C462 #62B4C4 #C462B4
tetradic
#B4C462 #62C4A3 #7262C4 #C46283
square
#B4C462 #62C4A3 #7262C4 #C46283
split-complementary
#B4C462 #6283C4 #A362C4
monochromatic
#707D2F #98A940 #B4C462 #C9D58E #DEE5BB

Accessibility & contrast

On white

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

On black

11.01
#B4C462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C462
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C462#FFFFFF#000000##000000
##B4C4621.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#CEBC67
Tritanopia (blue-blind)
#BDBBAE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c462;
/* rgb */ color: rgb(180, 196, 98);
/* oklch */ color: oklch(78.7% 0.125 117.0);
Tailwind
colors: {
  custom: {
    50: '#ccd591',
    500: '#b4c462',
    950: '#000000',
  },
}
SCSS
$custom: #b4c462;
$custom-light: #ccd591;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c462",
  "rgb": {
    "r": 180,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 69.796,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78711,
    "c": 0.12487,
    "h": 117
  },
  "luminance": 0.50065
}

Semantic roles & 50–950 ramp

primary
#B4C462
secondary
#4F4585
accent
#53D568
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #B4C462

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

Preview Lab → · Contrast checker → · Palette generator →

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