#B8BD48#B8BD48

#B8BD48 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.139 H 111.6°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#B8BD48
RGBrgb(184, 189, 72)
HSLhsl(63, 47%, 51%)
HSVhsv(63, 62%, 74%)
CMYKcmyk(2.6%, 0%, 61.9%, 25.9%)
CIE-LABlab(74.22, -16.92, 56.70)
CIE-LCHlch(74.22, 59.17, 106.62°)
OKLaboklab(77.2% -0.0511 0.1293)
OKLCHoklch(77.2% 0.139 111.6)
XYZxyz(39.1355, 47.0543, 13.1505)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD48 #4D48BD
analogous
#BD8748 #B8BD48 #7DBD48
triadic
#B8BD48 #48B8BD #BD48B8
tetradic
#B8BD48 #48BD87 #4D48BD #BD487D
square
#B8BD48 #48BD87 #4D48BD #BD487D
split-complementary
#B8BD48 #487DBD #8748BD
monochromatic
#636625 #8F9335 #B8BD48 #C9CD75 #DBDDA2

Accessibility & contrast

On white

2.02
#B8BD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#B8BD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD48
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD48#FFFFFF#000000##000000
##B8BD481.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#C4B2A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd48;
/* rgb */ color: rgb(184, 189, 72);
/* oklch */ color: oklch(77.2% 0.139 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0d080',
    500: '#b8bd48',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd48;
$custom-light: #d0d080;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd48",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 62.564,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77196,
    "c": 0.13899,
    "h": 111.6
  },
  "luminance": 0.47053
}

Semantic roles & 50–950 ramp

primary
#B8BD48
secondary
#9997CA
accent
#51D757
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B8BD48

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

Preview Lab → · Contrast checker → · Palette generator →

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