#B7BD48#B7BD48

#B7BD48 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.1% C 0.139 H 112.0°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#B7BD48
RGBrgb(183, 189, 72)
HSLhsl(63, 47%, 51%)
HSVhsv(63, 62%, 74%)
CMYKcmyk(3.2%, 0%, 61.9%, 25.9%)
CIE-LABlab(74.15, -17.34, 56.59)
CIE-LCHlch(74.15, 59.19, 107.04°)
OKLaboklab(77.11% -0.0522 0.1291)
OKLCHoklch(77.11% 0.139 112)
XYZxyz(38.8968, 46.9312, 13.1393)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD48 #4E48BD
analogous
#BD8848 #B7BD48 #7CBD48
triadic
#B7BD48 #48B7BD #BD48B7
tetradic
#B7BD48 #48BD88 #4E48BD #BD487C
square
#B7BD48 #48BD88 #4E48BD #BD487C
split-complementary
#B7BD48 #487CBD #8848BD
monochromatic
#636625 #8E9335 #B7BD48 #C9CD75 #DADDA2

Accessibility & contrast

On white

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

On black

10.39
#B7BD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD48
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD48#FFFFFF#000000##000000
##B7BD481.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bd48;
/* rgb */ color: rgb(183, 189, 72);
/* oklch */ color: oklch(77.1% 0.139 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfd080',
    500: '#b7bd48',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd48;
$custom-light: #cfd080;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd48",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 63.077,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77114,
    "c": 0.13921,
    "h": 112
  },
  "luminance": 0.4693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7BD48

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

Preview Lab → · Contrast checker → · Palette generator →

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