#B7BE20#B7BE20

#B7BE20 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.1% C 0.164 H 112.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#B7BE20
RGBrgb(183, 190, 32)
HSLhsl(63, 71%, 44%)
HSVhsv(63, 83%, 75%)
CMYKcmyk(3.7%, 0%, 83.2%, 25.5%)
CIE-LABlab(74.19, -19.75, 70.27)
CIE-LCHlch(74.19, 72.99, 105.70°)
OKLaboklab(77.07% -0.0624 0.1514)
OKLCHoklch(77.07% 0.164 112.4)
XYZxyz(38.2040, 46.9994, 8.4255)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE20 #2720BE
analogous
#BE7620 #B7BE20 #68BE20
triadic
#B7BE20 #20B7BE #BE20B7
tetradic
#B7BE20 #20BE76 #2720BE #BE2068
square
#B7BE20 #20BE76 #2720BE #BE2068
split-complementary
#B7BE20 #2068BE #7620BE
monochromatic
#52550E #858A17 #B7BE20 #D7DE3D #E2E771

Accessibility & contrast

On white

2.02
#B7BE20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#B7BE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE20
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE20#FFFFFF#000000##000000
##B7BE201.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB831
Tritanopia (blue-blind)
#C4B2A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7be20;
/* rgb */ color: rgb(183, 190, 32);
/* oklch */ color: oklch(77.1% 0.164 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d16d',
    500: '#b7be20',
    950: '#000000',
  },
}
SCSS
$custom: #b7be20;
$custom-light: #d1d16d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be20",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 32
  },
  "hsl": {
    "h": 62.658,
    "s": 71.171,
    "l": 43.529
  },
  "oklch": {
    "l": 0.77074,
    "c": 0.16373,
    "h": 112.4
  },
  "luminance": 0.46998
}

Semantic roles & 50–950 ramp

primary
#B7BE20
secondary
#706CCE
accent
#3AEE42
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B7BE20

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

Preview Lab → · Contrast checker → · Palette generator →

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