#B7BC3A#B7BC3A

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

Color values

HEX#B7BC3A
RGBrgb(183, 188, 58)
HSLhsl(62, 53%, 48%)
HSVhsv(62, 69%, 74%)
CMYKcmyk(2.7%, 0%, 69.1%, 26.3%)
CIE-LABlab(73.77, -17.69, 61.82)
CIE-LCHlch(73.77, 64.30, 105.97°)
OKLaboklab(76.78% -0.0546 0.1379)
OKLCHoklch(76.78% 0.148 111.6)
XYZxyz(38.2766, 46.3401, 10.9304)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC3A #3F3ABC
analogous
#BC803A #B7BC3A #76BC3A
triadic
#B7BC3A #3AB7BC #BC3AB7
tetradic
#B7BC3A #3ABC80 #3F3ABC #BC3A76
square
#B7BC3A #3ABC80 #3F3ABC #BC3A76
split-complementary
#B7BC3A #3A76BC #803ABC
monochromatic
#5C5E1D #898D2C #B7BC3A #CBCF64 #DBDE93

Accessibility & contrast

On white

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

On black

10.27
#B7BC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC3A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC3A#FFFFFF#000000##000000
##B7BC3A1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB425
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#C3B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc3a;
/* rgb */ color: rgb(183, 188, 58);
/* oklch */ color: oklch(76.8% 0.148 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0d078',
    500: '#b7bc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc3a;
$custom-light: #d0d078;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc3a",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 62.308,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76776,
    "c": 0.14833,
    "h": 111.6
  },
  "luminance": 0.46339
}

Semantic roles & 50–950 ramp

primary
#B7BC3A
secondary
#8B89C9
accent
#4CDC51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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