#B7BD38#B7BD38

#B7BD38 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.151 H 112.0°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#B7BD38
RGBrgb(183, 189, 56)
HSLhsl(63, 54%, 48%)
HSVhsv(63, 70%, 74%)
CMYKcmyk(3.2%, 0%, 70.4%, 25.9%)
CIE-LABlab(74.03, -18.29, 62.82)
CIE-LCHlch(74.03, 65.43, 106.24°)
OKLaboklab(76.98% -0.0565 0.1397)
OKLCHoklch(76.98% 0.151 112)
XYZxyz(38.4411, 46.7489, 10.7391)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD38 #3E38BD
analogous
#BD8038 #B7BD38 #74BD38
triadic
#B7BD38 #38B7BD #BD38B7
tetradic
#B7BD38 #38BD80 #3E38BD #BD3874
square
#B7BD38 #38BD80 #3E38BD #BD3874
split-complementary
#B7BD38 #3874BD #8038BD
monochromatic
#5C5F1C #898E2A #B7BD38 #CBD062 #DBDE91

Accessibility & contrast

On white

2.03
#B7BD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#B7BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD38
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD38#FFFFFF#000000##000000
##B7BD381.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#C3B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd38;
/* rgb */ color: rgb(183, 189, 56);
/* oklch */ color: oklch(77.0% 0.151 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d077',
    500: '#b7bd38',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd38;
$custom-light: #d0d077;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd38",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 62.707,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76983,
    "c": 0.15067,
    "h": 112
  },
  "luminance": 0.46748
}

Semantic roles & 50–950 ramp

primary
#B7BD38
secondary
#8A87C9
accent
#4ADE51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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