#B7BD42#B7BD42

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

Color values

HEX#B7BD42
RGBrgb(183, 189, 66)
HSLhsl(63, 48%, 50%)
HSVhsv(63, 65%, 74%)
CMYKcmyk(3.2%, 0%, 65.1%, 25.9%)
CIE-LABlab(74.10, -17.73, 59.03)
CIE-LCHlch(74.10, 61.64, 106.72°)
OKLaboklab(77.06% -0.0539 0.1333)
OKLCHoklch(77.06% 0.144 112)
XYZxyz(38.7105, 46.8567, 12.1583)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD42 #4842BD
analogous
#BD8642 #B7BD42 #79BD42
triadic
#B7BD42 #42B7BD #BD42B7
tetradic
#B7BD42 #42BD86 #4842BD #BD4279
square
#B7BD42 #42BD86 #4842BD #BD4279
split-complementary
#B7BD42 #4279BD #8642BD
monochromatic
#5F6222 #8B9032 #B7BD42 #C8CD6F #DADD9D

Accessibility & contrast

On white

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

On black

10.37
#B7BD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD42
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD42#FFFFFF#000000##000000
##B7BD421.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#C3B2A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd42;
/* rgb */ color: rgb(183, 189, 66);
/* oklch */ color: oklch(77.1% 0.144 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d07d',
    500: '#b7bd42',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd42;
$custom-light: #d0d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd42",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 62.927,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.7706,
    "c": 0.14382,
    "h": 112
  },
  "luminance": 0.46856
}

Semantic roles & 50–950 ramp

primary
#B7BD42
secondary
#9592C9
accent
#50D857
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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