#B7BD22#B7BD22

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

Color values

HEX#B7BD22
RGBrgb(183, 189, 34)
HSLhsl(62, 70%, 44%)
HSVhsv(62, 82%, 74%)
CMYKcmyk(3.2%, 0%, 82%, 25.9%)
CIE-LABlab(73.92, -19.19, 69.55)
CIE-LCHlch(73.92, 72.15, 105.42°)
OKLaboklab(76.86% -0.0608 0.1501)
OKLCHoklch(76.86% 0.162 112)
XYZxyz(38.0161, 46.5789, 8.5011)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD22 #2822BD
analogous
#BD7522 #B7BD22 #69BD22
triadic
#B7BD22 #22B7BD #BD22B7
tetradic
#B7BD22 #22BD75 #2822BD #BD2269
square
#B7BD22 #22BD75 #2822BD #BD2269
split-complementary
#B7BD22 #2269BD #7522BD
monochromatic
#53550F #858919 #B7BD22 #D6DD40 #E1E673

Accessibility & contrast

On white

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

On black

10.32
#B7BD22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD22
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD22#FFFFFF#000000##000000
##B7BD221.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bd22;
/* rgb */ color: rgb(183, 189, 34);
/* oklch */ color: oklch(76.9% 0.162 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d06d',
    500: '#b7bd22',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd22;
$custom-light: #d1d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd22",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 62.323,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7686,
    "c": 0.16197,
    "h": 112
  },
  "luminance": 0.46578
}

Semantic roles & 50–950 ramp

primary
#B7BD22
secondary
#726ECD
accent
#3BEC42
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BD22

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

Preview Lab → · Contrast checker → · Palette generator →

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