#B7BF3F#B7BF3F

#B7BF3F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.148 H 112.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B7BF3F
RGBrgb(183, 191, 63)
HSLhsl(64, 50%, 50%)
HSVhsv(64, 67%, 75%)
CMYKcmyk(4.2%, 0%, 67%, 25.1%)
CIE-LABlab(74.63, -18.91, 60.77)
CIE-LCHlch(74.63, 63.64, 107.28°)
OKLaboklab(77.48% -0.0575 0.1365)
OKLCHoklch(77.48% 0.148 112.8)
XYZxyz(39.0576, 47.6886, 11.8490)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF3F #473FBF
analogous
#BF873F #B7BF3F #77BF3F
triadic
#B7BF3F #3FB7BF #BF3FB7
tetradic
#B7BF3F #3FBF87 #473FBF #BF3F77
square
#B7BF3F #3FBF87 #473FBF #BF3F77
split-complementary
#B7BF3F #3F77BF #873FBF
monochromatic
#5F6321 #8B9130 #B7BF3F #C9CF6D #DADE9B

Accessibility & contrast

On white

1.99
#B7BF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#B7BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF3F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF3F#FFFFFF#000000##000000
##B7BF3F1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62C
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#C3B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf3f;
/* rgb */ color: rgb(183, 191, 63);
/* oklch */ color: oklch(77.5% 0.148 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d27b',
    500: '#b7bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf3f;
$custom-light: #d0d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf3f",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 63.75,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77477,
    "c": 0.14815,
    "h": 112.8
  },
  "luminance": 0.47688
}

Semantic roles & 50–950 ramp

primary
#B7BF3F
secondary
#9490CA
accent
#4EDA57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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