#B7BD2B#B7BD2B

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

Color values

HEX#B7BD2B
RGBrgb(183, 189, 43)
HSLhsl(62, 63%, 45%)
HSVhsv(62, 77%, 74%)
CMYKcmyk(3.2%, 0%, 77.2%, 25.9%)
CIE-LABlab(73.96, -18.88, 67.09)
CIE-LCHlch(73.96, 69.70, 105.72°)
OKLaboklab(76.9% -0.0592 0.1465)
OKLCHoklch(76.9% 0.158 112)
XYZxyz(38.1634, 46.6378, 9.2767)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD2B #312BBD
analogous
#BD7A2B #B7BD2B #6EBD2B
triadic
#B7BD2B #2BB7BD #BD2BB7
tetradic
#B7BD2B #2BBD7A #312BBD #BD2B6E
square
#B7BD2B #2BBD7A #312BBD #BD2B6E
split-complementary
#B7BD2B #2B6EBD #7A2BBD
monochromatic
#565914 #878B20 #B7BD2B #D1D74E #DEE280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BD2B#FFFFFF#000000##000000
##B7BD2B1.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)
#CCB400
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#C4B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd2b;
/* rgb */ color: rgb(183, 189, 43);
/* oklch */ color: oklch(76.9% 0.158 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d071',
    500: '#b7bd2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd2b;
$custom-light: #d0d071;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd2b",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 62.466,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76903,
    "c": 0.15798,
    "h": 112
  },
  "luminance": 0.46637
}

Semantic roles & 50–950 ramp

primary
#B7BD2B
secondary
#7C79CB
accent
#42E649
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B7BD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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