#B7BD1F#B7BD1F

#B7BD1F is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.8% C 0.163 H 112.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#B7BD1F
RGBrgb(183, 189, 31)
HSLhsl(62, 72%, 43%)
HSVhsv(62, 84%, 74%)
CMYKcmyk(3.2%, 0%, 83.6%, 25.9%)
CIE-LABlab(73.91, -19.28, 70.27)
CIE-LCHlch(73.91, 72.87, 105.34°)
OKLaboklab(76.85% -0.0612 0.1512)
OKLCHoklch(76.85% 0.163 112)
XYZxyz(37.9747, 46.5624, 8.2831)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD1F #251FBD
analogous
#BD741F #B7BD1F #68BD1F
triadic
#B7BD1F #1FB7BD #BD1FB7
tetradic
#B7BD1F #1FBD74 #251FBD #BD1F68
square
#B7BD1F #1FBD74 #251FBD #BD1F68
split-complementary
#B7BD1F #1F68BD #741FBD
monochromatic
#51540E #848816 #B7BD1F #D9DF3A #E3E76F

Accessibility & contrast

On white

2.04
#B7BD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#B7BD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD1F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD1F#FFFFFF#000000##000000
##B7BD1F1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB730
Tritanopia (blue-blind)
#C4B1A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd1f;
/* rgb */ color: rgb(183, 189, 31);
/* oklch */ color: oklch(76.8% 0.163 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d06c',
    500: '#b7bd1f',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd1f;
$custom-light: #d1d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd1f",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 31
  },
  "hsl": {
    "h": 62.278,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76849,
    "c": 0.16311,
    "h": 112
  },
  "luminance": 0.46561
}

Semantic roles & 50–950 ramp

primary
#B7BD1F
secondary
#6E6ACE
accent
#39EF40
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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