#B7BF2B#B7BF2B

#B7BF2B is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.160 H 112.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#B7BF2B
RGBrgb(183, 191, 43)
HSLhsl(63, 63%, 46%)
HSVhsv(63, 77%, 75%)
CMYKcmyk(4.2%, 0%, 77.5%, 25.1%)
CIE-LABlab(74.51, -19.87, 67.59)
CIE-LCHlch(74.51, 70.46, 106.38°)
OKLaboklab(77.35% -0.062 0.1475)
OKLCHoklch(77.35% 0.16 112.8)
XYZxyz(38.5966, 47.5042, 9.4211)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF2B #332BBF
analogous
#BF7D2B #B7BF2B #6DBF2B
triadic
#B7BF2B #2BB7BF #BF2BB7
tetradic
#B7BF2B #2BBF7D #332BBF #BF2B6D
square
#B7BF2B #2BBF7D #332BBF #BF2B6D
split-complementary
#B7BF2B #2B6DBF #7D2BBF
monochromatic
#575B15 #878D20 #B7BF2B #D0D850 #DEE382

Accessibility & contrast

On white

2.00
#B7BF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#B7BF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF2B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF2B#FFFFFF#000000##000000
##B7BF2B1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf2b;
/* rgb */ color: rgb(183, 191, 43);
/* oklch */ color: oklch(77.3% 0.160 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d271',
    500: '#b7bf2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf2b;
$custom-light: #d0d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf2b",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 63.243,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77346,
    "c": 0.16002,
    "h": 112.8
  },
  "luminance": 0.47503
}

Semantic roles & 50–950 ramp

primary
#B7BF2B
secondary
#7F7ACC
accent
#42E64A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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