#B8BD23#B8BD23

#B8BD23 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.161 H 111.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#B8BD23
RGBrgb(184, 189, 35)
HSLhsl(62, 69%, 44%)
HSVhsv(62, 81%, 74%)
CMYKcmyk(2.6%, 0%, 81.5%, 25.9%)
CIE-LABlab(74.00, -18.73, 69.40)
CIE-LCHlch(74.00, 71.88, 105.10°)
OKLaboklab(76.95% -0.0595 0.1499)
OKLCHoklch(76.95% 0.161 111.6)
XYZxyz(38.2695, 46.7079, 8.5894)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD23 #2823BD
analogous
#BD7523 #B8BD23 #6BBD23
triadic
#B8BD23 #23B8BD #BD23B8
tetradic
#B8BD23 #23BD75 #2823BD #BD236B
square
#B8BD23 #23BD75 #2823BD #BD236B
split-complementary
#B8BD23 #236BBD #7523BD
monochromatic
#535610 #868919 #B8BD23 #D7DC41 #E2E575

Accessibility & contrast

On white

2.03
#B8BD23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#B8BD23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD23
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD23#FFFFFF#000000##000000
##B8BD231.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#C5B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd23;
/* rgb */ color: rgb(184, 189, 35);
/* oklch */ color: oklch(76.9% 0.161 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d06e',
    500: '#b8bd23',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd23;
$custom-light: #d1d06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd23",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 35
  },
  "hsl": {
    "h": 61.948,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.16131,
    "h": 111.6
  },
  "luminance": 0.46707
}

Semantic roles & 50–950 ramp

primary
#B8BD23
secondary
#726FCD
accent
#3CEC42
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BD23

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

Preview Lab → · Contrast checker → · Palette generator →

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