#B4CA2A#B4CA2A

#B4CA2A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.173 H 117.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B4CA2A
RGBrgb(180, 202, 42)
HSLhsl(68, 66%, 48%)
HSVhsv(68, 79%, 79%)
CMYKcmyk(10.9%, 0%, 79.2%, 20.8%)
CIE-LABlab(77.35, -26.54, 70.34)
CIE-LCHlch(77.35, 75.18, 110.67°)
OKLaboklab(79.57% -0.0803 0.1533)
OKLCHoklch(79.57% 0.173 117.6)
XYZxyz(40.3619, 52.1120, 10.1224)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CA2A #402ACA
analogous
#CA902A #B4CA2A #64CA2A
triadic
#B4CA2A #2AB4CA #CA2AB4
tetradic
#B4CA2A #2ACA90 #402ACA #CA2A64
square
#B4CA2A #2ACA90 #402ACA #CA2A64
split-complementary
#B4CA2A #2A64CA #902ACA
monochromatic
#5A6515 #87971F #B4CA2A #C9DC55 #D9E688

Accessibility & contrast

On white

1.84
#B4CA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B4CA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CA2A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CA2A#FFFFFF#000000##000000
##B4CA2A1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b4ca2a;
/* rgb */ color: rgb(180, 202, 42);
/* oklch */ color: oklch(79.6% 0.173 117.6);
Tailwind
colors: {
  custom: {
    50: '#ceda72',
    500: '#b4ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #b4ca2a;
$custom-light: #ceda72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ca2a",
  "rgb": {
    "r": 180,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 68.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79566,
    "c": 0.17308,
    "h": 117.6
  },
  "luminance": 0.52112
}

Semantic roles & 50–950 ramp

primary
#B4CA2A
secondary
#33296F
accent
#3FE957
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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