#B7BC20#B7BC20

#B7BC20 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.162 H 111.7°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#B7BC20
RGBrgb(183, 188, 32)
HSLhsl(62, 71%, 43%)
HSVhsv(62, 83%, 74%)
CMYKcmyk(2.7%, 0%, 83%, 26.3%)
CIE-LABlab(73.64, -18.75, 69.80)
CIE-LCHlch(73.64, 72.28, 105.04°)
OKLaboklab(76.63% -0.0597 0.1503)
OKLCHoklch(76.63% 0.162 111.7)
XYZxyz(37.7737, 46.1390, 8.2821)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC20 #2520BC
analogous
#BC7320 #B7BC20 #69BC20
triadic
#B7BC20 #20B7BC #BC20B7
tetradic
#B7BC20 #20BC73 #2520BC #BC2069
square
#B7BC20 #20BC73 #2520BC #BC2069
split-complementary
#B7BC20 #2069BC #7320BC
monochromatic
#51530E #848817 #B7BC20 #D9DE3B #E3E770

Accessibility & contrast

On white

2.05
#B7BC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#B7BC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC20
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC20#FFFFFF#000000##000000
##B7BC201.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CCB730
Tritanopia (blue-blind)
#C4B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc20;
/* rgb */ color: rgb(183, 188, 32);
/* oklch */ color: oklch(76.6% 0.162 111.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf6d',
    500: '#b7bc20',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc20;
$custom-light: #d1cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc20",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 32
  },
  "hsl": {
    "h": 61.923,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76631,
    "c": 0.16175,
    "h": 111.7
  },
  "luminance": 0.46138
}

Semantic roles & 50–950 ramp

primary
#B7BC20
secondary
#6E6BCD
accent
#3AEE40
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BC20

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

Preview Lab → · Contrast checker → · Palette generator →

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