#B4CB3C#B4CB3C

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

Color values

HEX#B4CB3C
RGBrgb(180, 203, 60)
HSLhsl(70, 58%, 52%)
HSVhsv(70, 70%, 80%)
CMYKcmyk(11.3%, 0%, 70.4%, 20.4%)
CIE-LABlab(77.72, -26.20, 64.92)
CIE-LCHlch(77.72, 70.01, 111.98°)
OKLaboklab(79.9% -0.0779 0.1449)
OKLCHoklch(79.9% 0.165 118.3)
XYZxyz(40.9948, 52.7418, 12.2947)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CB3C #533CCB
analogous
#CB9B3C #B4CB3C #6DCB3C
triadic
#B4CB3C #3CB4CB #CB3CB4
tetradic
#B4CB3C #3CCB9B #533CCB #CB3C6D
square
#B4CB3C #3CCB9B #533CCB #CB3C6D
split-complementary
#B4CB3C #3C6DCB #9B3CCB
monochromatic
#626F1E #8D9F2A #B4CB3C #C7D86C #D9E59D

Accessibility & contrast

On white

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

On black

11.55
#B4CB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CB3C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CB3C#FFFFFF#000000##000000
##B4CB3C1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4cb3c;
/* rgb */ color: rgb(180, 203, 60);
/* oklch */ color: oklch(79.9% 0.165 118.3);
Tailwind
colors: {
  custom: {
    50: '#ceda7b',
    500: '#b4cb3c',
    950: '#000000',
  },
}
SCSS
$custom: #b4cb3c;
$custom-light: #ceda7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cb3c",
  "rgb": {
    "r": 180,
    "g": 203,
    "b": 60
  },
  "hsl": {
    "h": 69.65,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79898,
    "c": 0.1645,
    "h": 118.3
  },
  "luminance": 0.52741
}

Semantic roles & 50–950 ramp

primary
#B4CB3C
secondary
#3E3378
accent
#47E160
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4CB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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