#B7BC42#B7BC42

#B7BC42 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.8% C 0.143 H 111.6°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#B7BC42
RGBrgb(183, 188, 66)
HSLhsl(62, 48%, 50%)
HSVhsv(62, 65%, 74%)
CMYKcmyk(2.7%, 0%, 64.9%, 26.3%)
CIE-LABlab(73.82, -17.23, 58.75)
CIE-LCHlch(73.82, 61.22, 106.34°)
OKLaboklab(76.84% -0.0525 0.1327)
OKLCHoklch(76.84% 0.143 111.6)
XYZxyz(38.4962, 46.4280, 12.0868)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC42 #4742BC
analogous
#BC8442 #B7BC42 #7ABC42
triadic
#B7BC42 #42B7BC #BC42B7
tetradic
#B7BC42 #42BC84 #4742BC #BC427A
square
#B7BC42 #42BC84 #4742BC #BC427A
split-complementary
#B7BC42 #427ABC #8442BC
monochromatic
#5F6122 #8B8F32 #B7BC42 #C9CC6F #DADC9C

Accessibility & contrast

On white

2.04
#B7BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#B7BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC42
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC42#FFFFFF#000000##000000
##B7BC421.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#CBB74A
Tritanopia (blue-blind)
#C3B1A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc42;
/* rgb */ color: rgb(183, 188, 66);
/* oklch */ color: oklch(76.8% 0.143 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0d07d',
    500: '#b7bc42',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc42;
$custom-light: #d0d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc42",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 62.459,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7684,
    "c": 0.14273,
    "h": 111.6
  },
  "luminance": 0.46427
}

Semantic roles & 50–950 ramp

primary
#B7BC42
secondary
#9491C9
accent
#50D856
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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