#B7BE38#B7BE38

#B7BE38 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.152 H 112.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#B7BE38
RGBrgb(183, 190, 56)
HSLhsl(63, 54%, 48%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.7%, 0%, 70.5%, 25.5%)
CIE-LABlab(74.31, -18.79, 63.09)
CIE-LCHlch(74.31, 65.83, 106.59°)
OKLaboklab(77.2% -0.0579 0.1403)
OKLCHoklch(77.2% 0.152 112.4)
XYZxyz(38.6569, 47.1806, 10.8110)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE38 #3F38BE
analogous
#BE8238 #B7BE38 #74BE38
triadic
#B7BE38 #38B7BE #BE38B7
tetradic
#B7BE38 #38BE82 #3F38BE #BE3874
square
#B7BE38 #38BE82 #3F38BE #BE3874
split-complementary
#B7BE38 #3874BE #8238BE
monochromatic
#5C5F1C #898F2A #B7BE38 #CBD162 #DBDF92

Accessibility & contrast

On white

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

On black

10.44
#B7BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE38
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE38#FFFFFF#000000##000000
##B7BE381.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#C3B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7be38;
/* rgb */ color: rgb(183, 190, 56);
/* oklch */ color: oklch(77.2% 0.152 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d177',
    500: '#b7be38',
    950: '#000000',
  },
}
SCSS
$custom: #b7be38;
$custom-light: #d0d177;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be38",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 63.134,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77204,
    "c": 0.15173,
    "h": 112.4
  },
  "luminance": 0.4718
}

Semantic roles & 50–950 ramp

primary
#B7BE38
secondary
#8B88CA
accent
#4ADE52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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