#B9C751#B9C751

#B9C751 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.143 H 115.4°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#B9C751
RGBrgb(185, 199, 81)
HSLhsl(67, 51%, 55%)
HSVhsv(67, 59%, 78%)
CMYKcmyk(7%, 0%, 59.3%, 22%)
CIE-LABlab(77.13, -20.85, 56.00)
CIE-LCHlch(77.13, 59.76, 110.42°)
OKLaboklab(79.57% -0.0613 0.129)
OKLCHoklch(79.57% 0.143 115.4)
XYZxyz(41.9171, 51.7558, 15.5647)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C751 #5F51C7
analogous
#C79A51 #B9C751 #7EC751
triadic
#B9C751 #51B9C7 #C751B9
tetradic
#B9C751 #51C79A #5F51C7 #C7517E
square
#B9C751 #51C79A #5F51C7 #C7517E
split-complementary
#B9C751 #517EC7 #9A51C7
monochromatic
#6E7726 #98A635 #B9C751 #CCD67F #DEE5AE

Accessibility & contrast

On white

1.85
#B9C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#B9C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C751
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C751#FFFFFF#000000##000000
##B9C7511.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#D3BF58
Tritanopia (blue-blind)
#C4BCAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b9c751;
/* rgb */ color: rgb(185, 199, 81);
/* oklch */ color: oklch(79.6% 0.143 115.4);
Tailwind
colors: {
  custom: {
    50: '#d0d786',
    500: '#b9c751',
    950: '#000000',
  },
}
SCSS
$custom: #b9c751;
$custom-light: #d0d786;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c751",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 67.119,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79568,
    "c": 0.14278,
    "h": 115.4
  },
  "luminance": 0.51755
}

Semantic roles & 50–950 ramp

primary
#B9C751
secondary
#443C80
accent
#4DDB5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9C751

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

Preview Lab → · Contrast checker → · Palette generator →

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