#B7BF38#B7BF38

#B7BF38 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.153 H 112.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B7BF38
RGBrgb(183, 191, 56)
HSLhsl(64, 55%, 48%)
HSVhsv(64, 71%, 75%)
CMYKcmyk(4.2%, 0%, 70.7%, 25.1%)
CIE-LABlab(74.58, -19.29, 63.36)
CIE-LCHlch(74.58, 66.23, 106.94°)
OKLaboklab(77.43% -0.0593 0.1408)
OKLCHoklch(77.43% 0.153 112.8)
XYZxyz(38.8742, 47.6153, 10.8835)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF38 #4038BF
analogous
#BF8438 #B7BF38 #73BF38
triadic
#B7BF38 #38B7BF #BF38B7
tetradic
#B7BF38 #38BF84 #4038BF #BF3873
square
#B7BF38 #38BF84 #4038BF #BF3873
split-complementary
#B7BF38 #3873BF #8438BF
monochromatic
#5C601C #8A902A #B7BF38 #CBD163 #DBDF92

Accessibility & contrast

On white

2.00
#B7BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B7BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF38
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF38#FFFFFF#000000##000000
##B7BF381.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#C3B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf38;
/* rgb */ color: rgb(183, 191, 56);
/* oklch */ color: oklch(77.4% 0.153 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d278',
    500: '#b7bf38',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf38;
$custom-light: #d0d278;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf38",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 63.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77425,
    "c": 0.15279,
    "h": 112.8
  },
  "luminance": 0.47614
}

Semantic roles & 50–950 ramp

primary
#B7BF38
secondary
#8D89CA
accent
#4ADE53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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