#B7BC2C#B7BC2C

#B7BC2C is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.156 H 111.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#B7BC2C
RGBrgb(183, 188, 44)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 77%, 74%)
CMYKcmyk(2.7%, 0%, 76.6%, 26.3%)
CIE-LABlab(73.69, -18.34, 66.54)
CIE-LCHlch(73.69, 69.02, 105.41°)
OKLaboklab(76.69% -0.0577 0.1455)
OKLCHoklch(76.69% 0.156 111.6)
XYZxyz(37.9676, 46.2166, 9.3030)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC2C #312CBC
analogous
#BC792C #B7BC2C #6FBC2C
triadic
#B7BC2C #2CB7BC #BC2CB7
tetradic
#B7BC2C #2CBC79 #312CBC #BC2C6F
square
#B7BC2C #2CBC79 #312CBC #BC2C6F
split-complementary
#B7BC2C #2C6FBC #792CBC
monochromatic
#565915 #878A20 #B7BC2C #D1D64F #DEE181

Accessibility & contrast

On white

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

On black

10.24
#B7BC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC2C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC2C#FFFFFF#000000##000000
##B7BC2C1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bc2c;
/* rgb */ color: rgb(183, 188, 44);
/* oklch */ color: oklch(76.7% 0.156 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf71',
    500: '#b7bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc2c;
$custom-light: #d0cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc2c",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 62.083,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76687,
    "c": 0.15648,
    "h": 111.6
  },
  "luminance": 0.46216
}

Semantic roles & 50–950 ramp

primary
#B7BC2C
secondary
#7C79CA
accent
#43E548
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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