#B7BC3E#B7BC3E

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

Color values

HEX#B7BC3E
RGBrgb(183, 188, 62)
HSLhsl(62, 50%, 49%)
HSVhsv(62, 67%, 74%)
CMYKcmyk(2.7%, 0%, 67%, 26.3%)
CIE-LABlab(73.79, -17.47, 60.31)
CIE-LCHlch(73.79, 62.79, 106.15°)
OKLaboklab(76.81% -0.0536 0.1354)
OKLCHoklch(76.81% 0.146 111.6)
XYZxyz(38.3823, 46.3824, 11.4873)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC3E #433EBC
analogous
#BC823E #B7BC3E #78BC3E
triadic
#B7BC3E #3EB7BC #BC3EB7
tetradic
#B7BC3E #3EBC82 #433EBC #BC3E78
square
#B7BC3E #3EBC82 #433EBC #BC3E78
split-complementary
#B7BC3E #3E78BC #823EBC
monochromatic
#5D6020 #8A8E2F #B7BC3E #CACE6A #DADD98

Accessibility & contrast

On white

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

On black

10.28
#B7BC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC3E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC3E#FFFFFF#000000##000000
##B7BC3E1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bc3e;
/* rgb */ color: rgb(183, 188, 62);
/* oklch */ color: oklch(76.8% 0.146 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0d07a',
    500: '#b7bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc3e;
$custom-light: #d0d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc3e",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 62.381,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76807,
    "c": 0.14562,
    "h": 111.6
  },
  "luminance": 0.46382
}

Semantic roles & 50–950 ramp

primary
#B7BC3E
secondary
#908DC9
accent
#4EDA53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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