#B8BC45#B8BC45

#B8BC45 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.140 H 111.1°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#B8BC45
RGBrgb(184, 188, 69)
HSLhsl(62, 47%, 50%)
HSVhsv(62, 63%, 74%)
CMYKcmyk(2.1%, 0%, 63.3%, 26.3%)
CIE-LABlab(73.93, -16.62, 57.64)
CIE-LCHlch(73.93, 59.99, 106.08°)
OKLaboklab(76.95% -0.0505 0.1308)
OKLCHoklch(76.95% 0.14 111.1)
XYZxyz(38.8257, 46.5874, 12.5761)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC45 #4945BC
analogous
#BC8545 #B8BC45 #7CBC45
triadic
#B8BC45 #45B8BC #BC45B8
tetradic
#B8BC45 #45BC85 #4945BC #BC457C
square
#B8BC45 #45BC85 #4945BC #BC457C
split-complementary
#B8BC45 #457CBC #8545BC
monochromatic
#616324 #8D9034 #B8BC45 #C9CC72 #DADC9F

Accessibility & contrast

On white

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

On black

10.32
#B8BC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC45
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC45#FFFFFF#000000##000000
##B8BC451.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#C4B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bc45;
/* rgb */ color: rgb(184, 188, 69);
/* oklch */ color: oklch(76.9% 0.140 111.1);
Tailwind
colors: {
  custom: {
    50: '#d0d07e',
    500: '#b8bc45',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc45;
$custom-light: #d0d07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc45",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 62.017,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76949,
    "c": 0.14025,
    "h": 111.1
  },
  "luminance": 0.46586
}

Semantic roles & 50–950 ramp

primary
#B8BC45
secondary
#9694C9
accent
#51D756
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8BC45

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

Preview Lab → · Contrast checker → · Palette generator →

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