#B7BD2C#B7BD2C

#B7BD2C is a light, vivid yellow. Relative luminance 0.466; 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#B7BD2C
RGBrgb(183, 189, 44)
HSLhsl(62, 62%, 46%)
HSVhsv(62, 77%, 74%)
CMYKcmyk(3.2%, 0%, 76.7%, 25.9%)
CIE-LABlab(73.96, -18.84, 66.79)
CIE-LCHlch(73.96, 69.40, 105.75°)
OKLaboklab(76.91% -0.0591 0.146)
OKLCHoklch(76.91% 0.157 112)
XYZxyz(38.1820, 46.6453, 9.3745)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD2C #322CBD
analogous
#BD7A2C #B7BD2C #6EBD2C
triadic
#B7BD2C #2CB7BD #BD2CB7
tetradic
#B7BD2C #2CBD7A #322CBD #BD2C6E
square
#B7BD2C #2CBD7A #322CBD #BD2C6E
split-complementary
#B7BD2C #2C6EBD #7A2CBD
monochromatic
#575A15 #878B20 #B7BD2C #D1D650 #DEE282

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BD2C#FFFFFF#000000##000000
##B7BD2C1.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)
#CCB401
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#C4B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd2c;
/* rgb */ color: rgb(183, 189, 44);
/* oklch */ color: oklch(76.9% 0.157 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d072',
    500: '#b7bd2c',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd2c;
$custom-light: #d0d072;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd2c",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 44
  },
  "hsl": {
    "h": 62.483,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76908,
    "c": 0.15748,
    "h": 112
  },
  "luminance": 0.46644
}

Semantic roles & 50–950 ramp

primary
#B7BD2C
secondary
#7D7ACB
accent
#42E549
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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