#B8BF2D#B8BF2D

#B8BF2D is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.159 H 112.4°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B8BF2D
RGBrgb(184, 191, 45)
HSLhsl(63, 62%, 46%)
HSVhsv(63, 76%, 75%)
CMYKcmyk(3.7%, 0%, 76.4%, 25.1%)
CIE-LABlab(74.60, -19.37, 67.10)
CIE-LCHlch(74.60, 69.84, 106.10°)
OKLaboklab(77.44% -0.0605 0.1468)
OKLCHoklch(77.44% 0.159 112.4)
XYZxyz(38.8729, 47.6424, 9.6303)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF2D #342DBF
analogous
#BF7D2D #B8BF2D #6FBF2D
triadic
#B8BF2D #2DB8BF #BF2DB8
tetradic
#B8BF2D #2DBF7D #342DBF #BF2D6F
square
#B8BF2D #2DBF7D #342DBF #BF2D6F
split-complementary
#B8BF2D #2D6FBF #7D2DBF
monochromatic
#595C16 #888D21 #B8BF2D #D0D653 #DEE284

Accessibility & contrast

On white

1.99
#B8BF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#B8BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF2D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF2D#FFFFFF#000000##000000
##B8BF2D1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB602
Deuteranopia (green-blind)
#CEB93A
Tritanopia (blue-blind)
#C5B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8bf2d;
/* rgb */ color: rgb(184, 191, 45);
/* oklch */ color: oklch(77.4% 0.159 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d272',
    500: '#b8bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf2d;
$custom-light: #d1d272;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf2d",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 62.877,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77439,
    "c": 0.15876,
    "h": 112.4
  },
  "luminance": 0.47641
}

Semantic roles & 50–950 ramp

primary
#B8BF2D
secondary
#807CCB
accent
#43E54B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B8BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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