#B7C751#B7C751

#B7C751 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.4% C 0.143 H 116.3°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#B7C751
RGBrgb(183, 199, 81)
HSLhsl(68, 51%, 55%)
HSVhsv(68, 59%, 78%)
CMYKcmyk(8%, 0%, 59.3%, 22%)
CIE-LABlab(76.99, -21.67, 55.80)
CIE-LCHlch(76.99, 59.86, 111.23°)
OKLaboklab(79.41% -0.0634 0.1286)
OKLCHoklch(79.41% 0.143 116.3)
XYZxyz(41.4379, 51.5087, 15.5422)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C751 #6151C7
analogous
#C79C51 #B7C751 #7CC751
triadic
#B7C751 #51B7C7 #C751B7
tetradic
#B7C751 #51C79C #6151C7 #C7517C
square
#B7C751 #51C79C #6151C7 #C7517C
split-complementary
#B7C751 #517CC7 #9C51C7
monochromatic
#6C7726 #96A635 #B7C751 #CAD67F #DDE5AE

Accessibility & contrast

On white

1.86
#B7C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#B7C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C751
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C751#FFFFFF#000000##000000
##B7C7511.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD44
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#C1BDAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c751;
/* rgb */ color: rgb(183, 199, 81);
/* oklch */ color: oklch(79.4% 0.143 116.3);
Tailwind
colors: {
  custom: {
    50: '#cfd786',
    500: '#b7c751',
    950: '#000000',
  },
}
SCSS
$custom: #b7c751;
$custom-light: #cfd786;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c751",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 68.136,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79412,
    "c": 0.14337,
    "h": 116.3
  },
  "luminance": 0.51508
}

Semantic roles & 50–950 ramp

primary
#B7C751
secondary
#453C80
accent
#4DDB60
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C751

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

Preview Lab → · Contrast checker → · Palette generator →

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