#B5C751#B5C751

#B5C751 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.3% C 0.144 H 117.1°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#B5C751
RGBrgb(181, 199, 81)
HSLhsl(69, 51%, 55%)
HSVhsv(69, 59%, 78%)
CMYKcmyk(9%, 0%, 59.3%, 22%)
CIE-LABlab(76.84, -22.48, 55.59)
CIE-LCHlch(76.84, 59.97, 112.02°)
OKLaboklab(79.26% -0.0656 0.1282)
OKLCHoklch(79.26% 0.144 117.1)
XYZxyz(40.9654, 51.2651, 15.5201)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C751 #6351C7
analogous
#C79E51 #B5C751 #7AC751
triadic
#B5C751 #51B5C7 #C751B5
tetradic
#B5C751 #51C79E #6351C7 #C7517A
square
#B5C751 #51C79E #6351C7 #C7517A
split-complementary
#B5C751 #517AC7 #9E51C7
monochromatic
#6B7726 #94A635 #B5C751 #C9D67F #DCE5AE

Accessibility & contrast

On white

1.87
#B5C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#B5C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C751
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C751#FFFFFF#000000##000000
##B5C7511.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#BFBDAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c751;
/* rgb */ color: rgb(181, 199, 81);
/* oklch */ color: oklch(79.3% 0.144 117.1);
Tailwind
colors: {
  custom: {
    50: '#ced886',
    500: '#b5c751',
    950: '#000000',
  },
}
SCSS
$custom: #b5c751;
$custom-light: #ced886;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c751",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 69.153,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79258,
    "c": 0.14398,
    "h": 117.1
  },
  "luminance": 0.51265
}

Semantic roles & 50–950 ramp

primary
#B5C751
secondary
#473C80
accent
#4DDB63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B5C751

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

Preview Lab → · Contrast checker → · Palette generator →

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