#B7BD2D#B7BD2D

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

Color values

HEX#B7BD2D
RGBrgb(183, 189, 45)
HSLhsl(63, 62%, 46%)
HSVhsv(63, 76%, 74%)
CMYKcmyk(3.2%, 0%, 76.2%, 25.9%)
CIE-LABlab(73.97, -18.80, 66.49)
CIE-LCHlch(73.97, 69.10, 105.79°)
OKLaboklab(76.91% -0.0589 0.1455)
OKLCHoklch(76.91% 0.157 112)
XYZxyz(38.2010, 46.6529, 9.4747)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD2D #332DBD
analogous
#BD7B2D #B7BD2D #6FBD2D
triadic
#B7BD2D #2DB7BD #BD2DB7
tetradic
#B7BD2D #2DBD7B #332DBD #BD2D6F
square
#B7BD2D #2DBD7B #332DBD #BD2D6F
split-complementary
#B7BD2D #2D6FBD #7B2DBD
monochromatic
#575A15 #878C21 #B7BD2D #D0D652 #DEE183

Accessibility & contrast

On white

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

On black

10.33
#B7BD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD2D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD2D#FFFFFF#000000##000000
##B7BD2D1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB404
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#C4B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd2d;
/* rgb */ color: rgb(183, 189, 45);
/* oklch */ color: oklch(76.9% 0.157 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d072',
    500: '#b7bd2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd2d;
$custom-light: #d0d072;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd2d",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 45
  },
  "hsl": {
    "h": 62.5,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76914,
    "c": 0.15697,
    "h": 112
  },
  "luminance": 0.46652
}

Semantic roles & 50–950 ramp

primary
#B7BD2D
secondary
#7F7BCB
accent
#43E54A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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