#B7BB1E#B7BB1E

#B7BB1E is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.162 H 111.3°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#B7BB1E
RGBrgb(183, 187, 30)
HSLhsl(62, 72%, 43%)
HSVhsv(62, 84%, 73%)
CMYKcmyk(2.1%, 0%, 84%, 26.7%)
CIE-LABlab(73.35, -18.31, 70.04)
CIE-LCHlch(73.35, 72.39, 104.65°)
OKLaboklab(76.4% -0.0586 0.1505)
OKLCHoklch(76.4% 0.162 111.3)
XYZxyz(37.5345, 45.7027, 8.0723)
Luminance0.4570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB1E #221EBB
analogous
#BB711E #B7BB1E #68BB1E
triadic
#B7BB1E #1EB7BB #BB1EB7
tetradic
#B7BB1E #1EBB71 #221EBB #BB1E68
square
#B7BB1E #1EBB71 #221EBB #BB1E68
split-complementary
#B7BB1E #1E68BB #711EBB
monochromatic
#50520D #838616 #B7BB1E #DBDF37 #E4E76C

Accessibility & contrast

On white

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

On black

10.14
#B7BB1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB1E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB1E#FFFFFF#000000##000000
##B7BB1E1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bb1e;
/* rgb */ color: rgb(183, 187, 30);
/* oklch */ color: oklch(76.4% 0.162 111.3);
Tailwind
colors: {
  custom: {
    50: '#d1cf6c',
    500: '#b7bb1e',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb1e;
$custom-light: #d1cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb1e",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 30
  },
  "hsl": {
    "h": 61.529,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.76402,
    "c": 0.16151,
    "h": 111.3
  },
  "luminance": 0.45702
}

Semantic roles & 50–950 ramp

primary
#B7BB1E
secondary
#6A67CD
accent
#39EF3D
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#151308
muted
#83827A

Preview Lab

Preview with #B7BB1E

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

Preview Lab → · Contrast checker → · Palette generator →

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