#B5CD34#B5CD34

#B5CD34 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.171 H 118.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#B5CD34
RGBrgb(181, 205, 52)
HSLhsl(69, 60%, 50%)
HSVhsv(69, 75%, 80%)
CMYKcmyk(11.7%, 0%, 74.6%, 19.6%)
CIE-LABlab(78.31, -27.15, 68.24)
CIE-LCHlch(78.31, 73.44, 111.69°)
OKLaboklab(80.37% -0.0813 0.1505)
OKLCHoklch(80.37% 0.171 118.4)
XYZxyz(41.5081, 53.7347, 11.4333)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD34 #4C34CD
analogous
#CD9934 #B5CD34 #68CD34
triadic
#B5CD34 #34B5CD #CD34B5
tetradic
#B5CD34 #34CD99 #4C34CD #CD3468
square
#B5CD34 #34CD99 #4C34CD #CD3468
split-complementary
#B5CD34 #3468CD #9934CD
monochromatic
#5F6C1B #8B9D27 #B5CD34 #C7D965 #D9E596

Accessibility & contrast

On white

1.79
#B5CD34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#B5CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CD34
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CD34#FFFFFF#000000##000000
##B5CD341.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC10F
Deuteranopia (green-blind)
#D8C242
Tritanopia (blue-blind)
#C0C2B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd34;
/* rgb */ color: rgb(181, 205, 52);
/* oklch */ color: oklch(80.4% 0.171 118.4);
Tailwind
colors: {
  custom: {
    50: '#cfdc77',
    500: '#b5cd34',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd34;
$custom-light: #cfdc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd34",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 69.412,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80371,
    "c": 0.17107,
    "h": 118.4
  },
  "luminance": 0.53734
}

Semantic roles & 50–950 ramp

primary
#B5CD34
secondary
#3B3076
accent
#44E45D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B5CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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