#B7BF4E#B7BF4E

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

Color values

HEX#B7BF4E
RGBrgb(183, 191, 78)
HSLhsl(64, 47%, 53%)
HSVhsv(64, 59%, 75%)
CMYKcmyk(4.2%, 0%, 59.2%, 25.1%)
CIE-LABlab(74.75, -17.92, 54.65)
CIE-LCHlch(74.75, 57.51, 108.16°)
OKLaboklab(77.61% -0.0532 0.1258)
OKLCHoklch(77.61% 0.137 112.9)
XYZxyz(39.5353, 47.8797, 14.3653)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF4E #564EBF
analogous
#BF8F4E #B7BF4E #7EBF4E
triadic
#B7BF4E #4EB7BF #BF4EB7
tetradic
#B7BF4E #4EBF8F #564EBF #BF4E7E
square
#B7BF4E #4EBF8F #564EBF #BF4E7E
split-complementary
#B7BF4E #4E7EBF #8F4EBF
monochromatic
#676C27 #929937 #B7BF4E #C9CF7B #DCE0A8

Accessibility & contrast

On white

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

On black

10.58
#B7BF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF4E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF4E#FFFFFF#000000##000000
##B7BF4E1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bf4e;
/* rgb */ color: rgb(183, 191, 78);
/* oklch */ color: oklch(77.6% 0.137 112.9);
Tailwind
colors: {
  custom: {
    50: '#cfd284',
    500: '#b7bf4e',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf4e;
$custom-light: #cfd284;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf4e",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 64.248,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77613,
    "c": 0.13654,
    "h": 112.9
  },
  "luminance": 0.47879
}

Semantic roles & 50–950 ramp

primary
#B7BF4E
secondary
#9F9CCD
accent
#51D75B
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7BF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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