#B7BF4C#B7BF4C

#B7BF4C is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.138 H 112.9°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B7BF4C
RGBrgb(183, 191, 76)
HSLhsl(64, 47%, 52%)
HSVhsv(64, 60%, 75%)
CMYKcmyk(4.2%, 0%, 60.2%, 25.1%)
CIE-LABlab(74.73, -18.07, 55.50)
CIE-LCHlch(74.73, 58.37, 108.03°)
OKLaboklab(77.59% -0.0538 0.1273)
OKLCHoklch(77.59% 0.138 112.9)
XYZxyz(39.4647, 47.8515, 13.9934)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF4C #544CBF
analogous
#BF8E4C #B7BF4C #7EBF4C
triadic
#B7BF4C #4CB7BF #BF4CB7
tetradic
#B7BF4C #4CBF8E #544CBF #BF4C7E
square
#B7BF4C #4CBF8E #544CBF #BF4C7E
split-complementary
#B7BF4C #4C7EBF #8E4CBF
monochromatic
#666B26 #919836 #B7BF4C #C9CF79 #DBDFA6

Accessibility & contrast

On white

1.99
#B7BF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B7BF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF4C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF4C#FFFFFF#000000##000000
##B7BF4C1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB73F
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#C2B4A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf4c;
/* rgb */ color: rgb(183, 191, 76);
/* oklch */ color: oklch(77.6% 0.138 112.9);
Tailwind
colors: {
  custom: {
    50: '#cfd283',
    500: '#b7bf4c',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf4c;
$custom-light: #cfd283;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf4c",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 64.174,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77593,
    "c": 0.13821,
    "h": 112.9
  },
  "luminance": 0.47851
}

Semantic roles & 50–950 ramp

primary
#B7BF4C
secondary
#9E9ACC
accent
#51D75A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7BF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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