#B5CB42#B5CB42

#B5CB42 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.0% C 0.160 H 118.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#B5CB42
RGBrgb(181, 203, 66)
HSLhsl(70, 57%, 53%)
HSVhsv(70, 67%, 80%)
CMYKcmyk(10.8%, 0%, 67.5%, 20.4%)
CIE-LABlab(77.83, -25.45, 62.82)
CIE-LCHlch(77.83, 67.78, 112.05°)
OKLaboklab(80.02% -0.0753 0.1414)
OKLCHoklch(80.02% 0.16 118.1)
XYZxyz(41.3962, 52.9294, 13.1888)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB42 #5842CB
analogous
#CB9C42 #B5CB42 #70CB42
triadic
#B5CB42 #42B5CB #CB42B5
tetradic
#B5CB42 #42CB9C #5842CB #CB4270
square
#B5CB42 #42CB9C #5842CB #CB4270
split-complementary
#B5CB42 #4270CB #9C42CB
monochromatic
#667320 #90A32D #B5CB42 #C8D872 #DBE5A2

Accessibility & contrast

On white

1.81
#B5CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#B5CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CB42
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CB42#FFFFFF#000000##000000
##B5CB421.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C0C0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5cb42;
/* rgb */ color: rgb(181, 203, 66);
/* oklch */ color: oklch(80.0% 0.160 118.1);
Tailwind
colors: {
  custom: {
    50: '#ceda7e',
    500: '#b5cb42',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb42;
$custom-light: #ceda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb42",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 69.635,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80018,
    "c": 0.1602,
    "h": 118.1
  },
  "luminance": 0.52929
}

Semantic roles & 50–950 ramp

primary
#B5CB42
secondary
#41357C
accent
#48E060
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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