#B7BF4A#B7BF4A

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

Color values

HEX#B7BF4A
RGBrgb(183, 191, 74)
HSLhsl(64, 48%, 52%)
HSVhsv(64, 61%, 75%)
CMYKcmyk(4.2%, 0%, 61.3%, 25.1%)
CIE-LABlab(74.71, -18.21, 56.35)
CIE-LCHlch(74.71, 59.22, 107.91°)
OKLaboklab(77.57% -0.0544 0.1288)
OKLCHoklch(77.57% 0.14 112.9)
XYZxyz(39.3963, 47.8241, 13.6329)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF4A #524ABF
analogous
#BF8D4A #B7BF4A #7CBF4A
triadic
#B7BF4A #4AB7BF #BF4AB7
tetradic
#B7BF4A #4ABF8D #524ABF #BF4A7C
square
#B7BF4A #4ABF8D #524ABF #BF4A7C
split-complementary
#B7BF4A #4A7CBF #8D4ABF
monochromatic
#656925 #909735 #B7BF4A #C9CF77 #DBDFA4

Accessibility & contrast

On white

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

On black

10.56
#B7BF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF4A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF4A#FFFFFF#000000##000000
##B7BF4A1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB73C
Deuteranopia (green-blind)
#CCB951
Tritanopia (blue-blind)
#C2B4A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf4a;
/* rgb */ color: rgb(183, 191, 74);
/* oklch */ color: oklch(77.6% 0.140 112.9);
Tailwind
colors: {
  custom: {
    50: '#cfd282',
    500: '#b7bf4a',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf4a;
$custom-light: #cfd282;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf4a",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 64.103,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77573,
    "c": 0.13985,
    "h": 112.9
  },
  "luminance": 0.47823
}

Semantic roles & 50–950 ramp

primary
#B7BF4A
secondary
#9C99CC
accent
#50D75A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7BF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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