#B7BD20#B7BD20

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

Color values

HEX#B7BD20
RGBrgb(183, 189, 32)
HSLhsl(62, 71%, 43%)
HSVhsv(62, 83%, 74%)
CMYKcmyk(3.2%, 0%, 83.1%, 25.9%)
CIE-LABlab(73.91, -19.25, 70.04)
CIE-LCHlch(73.91, 72.64, 105.37°)
OKLaboklab(76.85% -0.0611 0.1509)
OKLCHoklch(76.85% 0.163 112)
XYZxyz(37.9881, 46.5677, 8.3536)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD20 #2620BD
analogous
#BD7420 #B7BD20 #68BD20
triadic
#B7BD20 #20B7BD #BD20B7
tetradic
#B7BD20 #20BD74 #2620BD #BD2068
square
#B7BD20 #20BD74 #2620BD #BD2068
split-complementary
#B7BD20 #2068BD #7420BD
monochromatic
#52540E #848917 #B7BD20 #D8DE3C #E2E771

Accessibility & contrast

On white

2.04
#B7BD20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#B7BD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD20
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD20#FFFFFF#000000##000000
##B7BD201.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB731
Tritanopia (blue-blind)
#C4B1A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd20;
/* rgb */ color: rgb(183, 189, 32);
/* oklch */ color: oklch(76.9% 0.163 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d06d',
    500: '#b7bd20',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd20;
$custom-light: #d1d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd20",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 32
  },
  "hsl": {
    "h": 62.293,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76852,
    "c": 0.16274,
    "h": 112
  },
  "luminance": 0.46567
}

Semantic roles & 50–950 ramp

primary
#B7BD20
secondary
#6F6BCD
accent
#3AEE41
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BD20

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

Preview Lab → · Contrast checker → · Palette generator →

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