#B7BF2D#B7BF2D

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

Color values

HEX#B7BF2D
RGBrgb(183, 191, 45)
HSLhsl(63, 62%, 46%)
HSVhsv(63, 76%, 75%)
CMYKcmyk(4.2%, 0%, 76.4%, 25.1%)
CIE-LABlab(74.52, -19.80, 67.00)
CIE-LCHlch(74.52, 69.86, 106.46°)
OKLaboklab(77.36% -0.0616 0.1466)
OKLCHoklch(77.36% 0.159 112.8)
XYZxyz(38.6342, 47.5192, 9.6191)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF2D #352DBF
analogous
#BF7E2D #B7BF2D #6EBF2D
triadic
#B7BF2D #2DB7BF #BF2DB7
tetradic
#B7BF2D #2DBF7E #352DBF #BF2D6E
square
#B7BF2D #2DBF7E #352DBF #BF2D6E
split-complementary
#B7BF2D #2D6EBF #7E2DBF
monochromatic
#585C16 #888D21 #B7BF2D #CFD653 #DDE284

Accessibility & contrast

On white

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

On black

10.50
#B7BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF2D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF2D#FFFFFF#000000##000000
##B7BF2D1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB602
Deuteranopia (green-blind)
#CEB93A
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf2d;
/* rgb */ color: rgb(183, 191, 45);
/* oklch */ color: oklch(77.4% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d272',
    500: '#b7bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf2d;
$custom-light: #d0d272;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf2d",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 63.288,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77357,
    "c": 0.15903,
    "h": 112.8
  },
  "luminance": 0.47518
}

Semantic roles & 50–950 ramp

primary
#B7BF2D
secondary
#817CCB
accent
#43E54C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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