#B5C642#B5C642

#B5C642 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.9% C 0.154 H 116.4°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#B5C642
RGBrgb(181, 198, 66)
HSLhsl(68, 54%, 52%)
HSVhsv(68, 67%, 78%)
CMYKcmyk(8.6%, 0%, 66.7%, 22.4%)
CIE-LABlab(76.44, -23.02, 61.40)
CIE-LCHlch(76.44, 65.57, 110.55°)
OKLaboklab(78.9% -0.0686 0.1384)
OKLCHoklch(78.9% 0.154 116.4)
XYZxyz(40.2344, 50.6058, 12.8016)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C642 #5342C6
analogous
#C69542 #B5C642 #73C642
triadic
#B5C642 #42B5C6 #C642B5
tetradic
#B5C642 #42C695 #5342C6 #C64273
square
#B5C642 #42C695 #5342C6 #C64273
split-complementary
#B5C642 #4273C6 #9542C6
monochromatic
#636D21 #8E9C2F #B5C642 #C7D471 #DAE2A0

Accessibility & contrast

On white

1.89
#B5C642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#B5C642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C642
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C642#FFFFFF#000000##000000
##B5C6421.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#D2BD4C
Tritanopia (blue-blind)
#C0BBAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c642;
/* rgb */ color: rgb(181, 198, 66);
/* oklch */ color: oklch(78.9% 0.154 116.4);
Tailwind
colors: {
  custom: {
    50: '#ced77e',
    500: '#b5c642',
    950: '#000000',
  },
}
SCSS
$custom: #b5c642;
$custom-light: #ced77e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c642",
  "rgb": {
    "r": 181,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 67.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78898,
    "c": 0.15445,
    "h": 116.4
  },
  "luminance": 0.50605
}

Semantic roles & 50–950 ramp

primary
#B5C642
secondary
#3E3676
accent
#4BDD5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C642

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

Preview Lab → · Contrast checker → · Palette generator →

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