#B4CB3A#B4CB3A

#B4CB3A is a light, vivid yellow. Relative luminance 0.527; OKLCH L 79.9% C 0.166 H 118.2°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#B4CB3A
RGBrgb(180, 203, 58)
HSLhsl(70, 58%, 51%)
HSVhsv(70, 71%, 80%)
CMYKcmyk(11.3%, 0%, 71.4%, 20.4%)
CIE-LABlab(77.71, -26.31, 65.62)
CIE-LCHlch(77.71, 70.70, 111.84°)
OKLaboklab(79.88% -0.0784 0.146)
OKLCHoklch(79.88% 0.166 118.2)
XYZxyz(40.9429, 52.7210, 12.0215)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CB3A #513ACB
analogous
#CB993A #B4CB3A #6BCB3A
triadic
#B4CB3A #3AB4CB #CB3AB4
tetradic
#B4CB3A #3ACB99 #513ACB #CB3A6B
square
#B4CB3A #3ACB99 #513ACB #CB3A6B
split-complementary
#B4CB3A #3A6BCB #993ACB
monochromatic
#616E1D #8C9E2A #B4CB3A #C6D86A #D9E59B

Accessibility & contrast

On white

1.82
#B4CB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#B4CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CB3A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CB3A#FFFFFF#000000##000000
##B4CB3A1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C01F
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#BFC0AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b4cb3a;
/* rgb */ color: rgb(180, 203, 58);
/* oklch */ color: oklch(79.9% 0.166 118.2);
Tailwind
colors: {
  custom: {
    50: '#ceda7a',
    500: '#b4cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4cb3a;
$custom-light: #ceda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cb3a",
  "rgb": {
    "r": 180,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 69.517,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79884,
    "c": 0.16574,
    "h": 118.2
  },
  "luminance": 0.52721
}

Semantic roles & 50–950 ramp

primary
#B4CB3A
secondary
#3D3277
accent
#46E15F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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