#B7BF57#B7BF57

#B7BF57 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.129 H 113.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B7BF57
RGBrgb(183, 191, 87)
HSLhsl(65, 45%, 55%)
HSVhsv(65, 54%, 75%)
CMYKcmyk(4.2%, 0%, 54.5%, 25.1%)
CIE-LABlab(74.84, -17.21, 50.67)
CIE-LCHlch(74.84, 53.52, 108.76°)
OKLaboklab(77.71% -0.0503 0.1183)
OKLCHoklch(77.71% 0.129 113)
XYZxyz(39.8804, 48.0177, 16.1825)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF57 #5F57BF
analogous
#BF9357 #B7BF57 #83BF57
triadic
#B7BF57 #57B7BF #BF57B7
tetradic
#B7BF57 #57BF93 #5F57BF #BF5783
square
#B7BF57 #57BF93 #5F57BF #BF5783
split-complementary
#B7BF57 #5783BF #9357BF
monochromatic
#6B712B #969D3C #B7BF57 #CAD083 #DDE1B0

Accessibility & contrast

On white

1.98
#B7BF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B7BF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF57
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF57#FFFFFF#000000##000000
##B7BF571.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74D
Deuteranopia (green-blind)
#CCB95D
Tritanopia (blue-blind)
#C2B5A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf57;
/* rgb */ color: rgb(183, 191, 87);
/* oklch */ color: oklch(77.7% 0.129 113.0);
Tailwind
colors: {
  custom: {
    50: '#cfd28a',
    500: '#b7bf57',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf57;
$custom-light: #cfd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf57",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 64.615,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7771,
    "c": 0.12854,
    "h": 113
  },
  "luminance": 0.48017
}

Semantic roles & 50–950 ramp

primary
#B7BF57
secondary
#A6A3CF
accent
#53D55D
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B7BF57

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

Preview Lab → · Contrast checker → · Palette generator →

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