#B8BD1F#B8BD1F

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

Color values

HEX#B8BD1F
RGBrgb(184, 189, 31)
HSLhsl(62, 72%, 43%)
HSVhsv(62, 84%, 74%)
CMYKcmyk(2.6%, 0%, 83.6%, 25.9%)
CIE-LABlab(73.99, -18.85, 70.37)
CIE-LCHlch(73.99, 72.85, 105.00°)
OKLaboklab(76.93% -0.0601 0.1514)
OKLCHoklch(76.93% 0.163 111.6)
XYZxyz(38.2135, 46.6855, 8.2943)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD1F #241FBD
analogous
#BD731F #B8BD1F #69BD1F
triadic
#B8BD1F #1FB8BD #BD1FB8
tetradic
#B8BD1F #1FBD73 #241FBD #BD1F69
square
#B8BD1F #1FBD73 #241FBD #BD1F69
split-complementary
#B8BD1F #1F69BD #731FBD
monochromatic
#52540E #858816 #B8BD1F #DADF3A #E4E76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BD1F#FFFFFF#000000##000000
##B8BD1F1.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)
#CDB830
Tritanopia (blue-blind)
#C5B1A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd1f;
/* rgb */ color: rgb(184, 189, 31);
/* oklch */ color: oklch(76.9% 0.163 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d06c',
    500: '#b8bd1f',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd1f;
$custom-light: #d2d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd1f",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 31
  },
  "hsl": {
    "h": 61.899,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76931,
    "c": 0.16284,
    "h": 111.6
  },
  "luminance": 0.46684
}

Semantic roles & 50–950 ramp

primary
#B8BD1F
secondary
#6D6ACE
accent
#39EF3F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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