#B4CB38#B4CB38

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

Color values

HEX#B4CB38
RGBrgb(180, 203, 56)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(11.3%, 0%, 72.4%, 20.4%)
CIE-LABlab(77.70, -26.41, 66.31)
CIE-LCHlch(77.70, 71.37, 111.72°)
OKLaboklab(79.87% -0.0789 0.1471)
OKLCHoklch(79.87% 0.167 118.2)
XYZxyz(40.8930, 52.7011, 11.7587)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CB38 #4F38CB
analogous
#CB9938 #B4CB38 #6ACB38
triadic
#B4CB38 #38B4CB #CB38B4
tetradic
#B4CB38 #38CB99 #4F38CB #CB386A
square
#B4CB38 #38CB99 #4F38CB #CB386A
split-complementary
#B4CB38 #386ACB #9938CB
monochromatic
#606C1C #8B9D29 #B4CB38 #C6D869 #D9E499

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4CB38#FFFFFF#000000##000000
##B4CB381.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)
#D8C01B
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#BFC0AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b4cb38;
/* rgb */ color: rgb(180, 203, 56);
/* oklch */ color: oklch(79.9% 0.167 118.2);
Tailwind
colors: {
  custom: {
    50: '#ceda79',
    500: '#b4cb38',
    950: '#000000',
  },
}
SCSS
$custom: #b4cb38;
$custom-light: #ceda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cb38",
  "rgb": {
    "r": 180,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 69.388,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79871,
    "c": 0.16693,
    "h": 118.2
  },
  "luminance": 0.52701
}

Semantic roles & 50–950 ramp

primary
#B4CB38
secondary
#3C3176
accent
#46E25E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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