#B7BF2F#B7BF2F

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

Color values

HEX#B7BF2F
RGBrgb(183, 191, 47)
HSLhsl(63, 61%, 47%)
HSVhsv(63, 75%, 75%)
CMYKcmyk(4.2%, 0%, 75.4%, 25.1%)
CIE-LABlab(74.53, -19.71, 66.38)
CIE-LCHlch(74.53, 69.24, 106.54°)
OKLaboklab(77.37% -0.0612 0.1456)
OKLCHoklch(77.37% 0.158 112.8)
XYZxyz(38.6736, 47.5350, 9.8267)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF2F #372FBF
analogous
#BF7F2F #B7BF2F #6FBF2F
triadic
#B7BF2F #2FB7BF #BF2FB7
tetradic
#B7BF2F #2FBF7F #372FBF #BF2F6F
square
#B7BF2F #2FBF7F #372FBF #BF2F6F
split-complementary
#B7BF2F #2F6FBF #7F2FBF
monochromatic
#595D17 #888E23 #B7BF2F #CED556 #DCE187

Accessibility & contrast

On white

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

On black

10.51
#B7BF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF2F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF2F#FFFFFF#000000##000000
##B7BF2F1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bf2f;
/* rgb */ color: rgb(183, 191, 47);
/* oklch */ color: oklch(77.4% 0.158 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d273',
    500: '#b7bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf2f;
$custom-light: #d0d273;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf2f",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 63.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77368,
    "c": 0.15799,
    "h": 112.8
  },
  "luminance": 0.47534
}

Semantic roles & 50–950 ramp

primary
#B7BF2F
secondary
#837FCB
accent
#44E44D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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