#B7BC2D#B7BC2D

#B7BC2D 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#B7BC2D
RGBrgb(183, 188, 45)
HSLhsl(62, 61%, 46%)
HSVhsv(62, 76%, 74%)
CMYKcmyk(2.7%, 0%, 76.1%, 26.3%)
CIE-LABlab(73.69, -18.30, 66.24)
CIE-LCHlch(73.69, 68.72, 105.44°)
OKLaboklab(76.69% -0.0575 0.145)
OKLCHoklch(76.69% 0.156 111.6)
XYZxyz(37.9866, 46.2242, 9.4032)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC2D #322DBC
analogous
#BC792D #B7BC2D #6FBC2D
triadic
#B7BC2D #2DB7BC #BC2DB7
tetradic
#B7BC2D #2DBC79 #322DBC #BC2D6F
square
#B7BC2D #2DBC79 #322DBC #BC2D6F
split-complementary
#B7BC2D #2D6FBC #792DBC
monochromatic
#575915 #878B21 #B7BC2D #D1D551 #DEE182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BC2D#FFFFFF#000000##000000
##B7BC2D1.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)
#CBB305
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#C4B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc2d;
/* rgb */ color: rgb(183, 188, 45);
/* oklch */ color: oklch(76.7% 0.156 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf72',
    500: '#b7bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc2d;
$custom-light: #d0cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc2d",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 62.098,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76692,
    "c": 0.15596,
    "h": 111.6
  },
  "luminance": 0.46223
}

Semantic roles & 50–950 ramp

primary
#B7BC2D
secondary
#7D7BCA
accent
#43E449
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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