#B7BC38#B7BC38

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

Color values

HEX#B7BC38
RGBrgb(183, 188, 56)
HSLhsl(62, 54%, 48%)
HSVhsv(62, 70%, 74%)
CMYKcmyk(2.7%, 0%, 70.2%, 26.3%)
CIE-LABlab(73.75, -17.79, 62.55)
CIE-LCHlch(73.75, 65.03, 105.88°)
OKLaboklab(76.76% -0.0551 0.1391)
OKLCHoklch(76.76% 0.15 111.6)
XYZxyz(38.2267, 46.3202, 10.6676)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC38 #3D38BC
analogous
#BC7F38 #B7BC38 #75BC38
triadic
#B7BC38 #38B7BC #BC38B7
tetradic
#B7BC38 #38BC7F #3D38BC #BC3875
square
#B7BC38 #38BC7F #3D38BC #BC3875
split-complementary
#B7BC38 #3875BC #7F38BC
monochromatic
#5B5E1C #898D2A #B7BC38 #CCD061 #DBDE90

Accessibility & contrast

On white

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

On black

10.26
#B7BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC38
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC38#FFFFFF#000000##000000
##B7BC381.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB321
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#C4B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc38;
/* rgb */ color: rgb(183, 188, 56);
/* oklch */ color: oklch(76.8% 0.150 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0d077',
    500: '#b7bc38',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc38;
$custom-light: #d0d077;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc38",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 62.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76762,
    "c": 0.14962,
    "h": 111.6
  },
  "luminance": 0.46319
}

Semantic roles & 50–950 ramp

primary
#B7BC38
secondary
#8987C9
accent
#4ADD50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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