#B7BB2D#B7BB2D

#B7BB2D is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.155 H 111.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#B7BB2D
RGBrgb(183, 187, 45)
HSLhsl(62, 61%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.1%, 0%, 75.9%, 26.7%)
CIE-LABlab(73.41, -17.80, 65.98)
CIE-LCHlch(73.41, 68.34, 105.10°)
OKLaboklab(76.47% -0.0561 0.1445)
OKLCHoklch(76.47% 0.155 111.2)
XYZxyz(37.7737, 45.7984, 9.3323)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB2D #312DBB
analogous
#BB782D #B7BB2D #70BB2D
triadic
#B7BB2D #2DB7BB #BB2DB7
tetradic
#B7BB2D #2DBB78 #312DBB #BB2D70
square
#B7BB2D #2DBB78 #312DBB #BB2D70
split-complementary
#B7BB2D #2D70BB #782DBB
monochromatic
#565815 #878A21 #B7BB2D #D1D550 #DEE182

Accessibility & contrast

On white

2.07
#B7BB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#B7BB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB2D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB2D#FFFFFF#000000##000000
##B7BB2D1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB206
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#C4AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7bb2d;
/* rgb */ color: rgb(183, 187, 45);
/* oklch */ color: oklch(76.5% 0.155 111.2);
Tailwind
colors: {
  custom: {
    50: '#d0cf72',
    500: '#b7bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb2d;
$custom-light: #d0cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb2d",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 61.69,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76471,
    "c": 0.15495,
    "h": 111.2
  },
  "luminance": 0.45797
}

Semantic roles & 50–950 ramp

primary
#B7BB2D
secondary
#7C7ACA
accent
#43E448
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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