#B8BC2D#B8BC2D

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

Color values

HEX#B8BC2D
RGBrgb(184, 188, 45)
HSLhsl(62, 61%, 46%)
HSVhsv(62, 76%, 74%)
CMYKcmyk(2.1%, 0%, 76.1%, 26.3%)
CIE-LABlab(73.77, -17.87, 66.34)
CIE-LCHlch(73.77, 68.70, 105.08°)
OKLaboklab(76.78% -0.0563 0.1452)
OKLCHoklch(76.78% 0.156 111.2)
XYZxyz(38.2254, 46.3473, 9.4144)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC2D #312DBC
analogous
#BC782D #B8BC2D #71BC2D
triadic
#B8BC2D #2DB8BC #BC2DB8
tetradic
#B8BC2D #2DBC78 #312DBC #BC2D71
square
#B8BC2D #2DBC78 #312DBC #BC2D71
split-complementary
#B8BC2D #2D71BC #782DBC
monochromatic
#575915 #888B21 #B8BC2D #D2D551 #DEE182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BC2D#FFFFFF#000000##000000
##B8BC2D1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB305
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#C5B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bc2d;
/* rgb */ color: rgb(184, 188, 45);
/* oklch */ color: oklch(76.8% 0.156 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf72',
    500: '#b8bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc2d;
$custom-light: #d1cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc2d",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 61.678,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76776,
    "c": 0.15571,
    "h": 111.2
  },
  "luminance": 0.46346
}

Semantic roles & 50–950 ramp

primary
#B8BC2D
secondary
#7D7BCA
accent
#43E448
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B8BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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