#B8BD2C#B8BD2C

#B8BD2C is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.157 H 111.6°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#B8BD2C
RGBrgb(184, 189, 44)
HSLhsl(62, 62%, 46%)
HSVhsv(62, 77%, 74%)
CMYKcmyk(2.6%, 0%, 76.7%, 25.9%)
CIE-LABlab(74.04, -18.41, 66.90)
CIE-LCHlch(74.04, 69.38, 105.39°)
OKLaboklab(76.99% -0.0579 0.1462)
OKLCHoklch(76.99% 0.157 111.6)
XYZxyz(38.4207, 46.7684, 9.3857)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD2C #312CBD
analogous
#BD792C #B8BD2C #6FBD2C
triadic
#B8BD2C #2CB8BD #BD2CB8
tetradic
#B8BD2C #2CBD79 #312CBD #BD2C6F
square
#B8BD2C #2CBD79 #312CBD #BD2C6F
split-complementary
#B8BD2C #2C6FBD #792CBD
monochromatic
#575A15 #888B20 #B8BD2C #D2D650 #DEE282

Accessibility & contrast

On white

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

On black

10.35
#B8BD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD2C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD2C#FFFFFF#000000##000000
##B8BD2C1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bd2c;
/* rgb */ color: rgb(184, 189, 44);
/* oklch */ color: oklch(77.0% 0.157 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d072',
    500: '#b8bd2c',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd2c;
$custom-light: #d1d072;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd2c",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 44
  },
  "hsl": {
    "h": 62.069,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.15723,
    "h": 111.6
  },
  "luminance": 0.46767
}

Semantic roles & 50–950 ramp

primary
#B8BD2C
secondary
#7D7ACB
accent
#42E548
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B8BD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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