#B7BE42#B7BE42

#B7BE42 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.3% C 0.145 H 112.4°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#B7BE42
RGBrgb(183, 190, 66)
HSLhsl(63, 49%, 50%)
HSVhsv(63, 65%, 75%)
CMYKcmyk(3.7%, 0%, 65.3%, 25.5%)
CIE-LABlab(74.37, -18.23, 59.32)
CIE-LCHlch(74.37, 62.06, 107.08°)
OKLaboklab(77.28% -0.0553 0.1339)
OKLCHoklch(77.28% 0.145 112.4)
XYZxyz(38.9264, 47.2884, 12.2302)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE42 #4942BE
analogous
#BE8742 #B7BE42 #79BE42
triadic
#B7BE42 #42B7BE #BE42B7
tetradic
#B7BE42 #42BE87 #4942BE #BE4279
square
#B7BE42 #42BE87 #4942BE #BE4279
split-complementary
#B7BE42 #4279BE #8742BE
monochromatic
#606322 #8C9132 #B7BE42 #C8CE70 #DADD9D

Accessibility & contrast

On white

2.01
#B7BE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#B7BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE42
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE42#FFFFFF#000000##000000
##B7BE421.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#C3B3A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7be42;
/* rgb */ color: rgb(183, 190, 66);
/* oklch */ color: oklch(77.3% 0.145 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d17d',
    500: '#b7be42',
    950: '#000000',
  },
}
SCSS
$custom: #b7be42;
$custom-light: #d0d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be42",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 63.387,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77281,
    "c": 0.14491,
    "h": 112.4
  },
  "luminance": 0.47288
}

Semantic roles & 50–950 ramp

primary
#B7BE42
secondary
#9592CA
accent
#4FD857
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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