#B7BD3A#B7BD3A

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

Color values

HEX#B7BD3A
RGBrgb(183, 189, 58)
HSLhsl(63, 53%, 48%)
HSVhsv(63, 69%, 74%)
CMYKcmyk(3.2%, 0%, 69.3%, 25.9%)
CIE-LABlab(74.04, -18.19, 62.09)
CIE-LCHlch(74.04, 64.70, 106.33°)
OKLaboklab(77% -0.056 0.1385)
OKLCHoklch(77% 0.149 112)
XYZxyz(38.4909, 46.7689, 11.0018)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD3A #403ABD
analogous
#BD813A #B7BD3A #75BD3A
triadic
#B7BD3A #3AB7BD #BD3AB7
tetradic
#B7BD3A #3ABD81 #403ABD #BD3A75
square
#B7BD3A #3ABD81 #403ABD #BD3A75
split-complementary
#B7BD3A #3A75BD #813ABD
monochromatic
#5C5F1D #8A8E2C #B7BD3A #CBD065 #DBDE93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BD3A#FFFFFF#000000##000000
##B7BD3A1.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)
#CBB425
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#C3B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd3a;
/* rgb */ color: rgb(183, 189, 58);
/* oklch */ color: oklch(77.0% 0.149 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d078',
    500: '#b7bd3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd3a;
$custom-light: #d0d078;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd3a",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 62.748,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76997,
    "c": 0.14939,
    "h": 112
  },
  "luminance": 0.46768
}

Semantic roles & 50–950 ramp

primary
#B7BD3A
secondary
#8D8AC9
accent
#4BDC52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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