#B7BC2F#B7BC2F

#B7BC2F is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.155 H 111.6°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#B7BC2F
RGBrgb(183, 188, 47)
HSLhsl(62, 60%, 46%)
HSVhsv(62, 75%, 74%)
CMYKcmyk(2.7%, 0%, 75%, 26.3%)
CIE-LABlab(73.70, -18.22, 65.61)
CIE-LCHlch(73.70, 68.09, 105.52°)
OKLaboklab(76.7% -0.0571 0.144)
OKLCHoklch(76.7% 0.155 111.6)
XYZxyz(38.0260, 46.2399, 9.6109)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC2F #342FBC
analogous
#BC7A2F #B7BC2F #70BC2F
triadic
#B7BC2F #2FB7BC #BC2FB7
tetradic
#B7BC2F #2FBC7A #342FBC #BC2F70
square
#B7BC2F #2FBC7A #342FBC #BC2F70
split-complementary
#B7BC2F #2F70BC #7A2FBC
monochromatic
#585A17 #878B23 #B7BC2F #D0D454 #DDE085

Accessibility & contrast

On white

2.05
#B7BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#B7BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC2F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC2F#FFFFFF#000000##000000
##B7BC2F1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB30D
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#C4B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc2f;
/* rgb */ color: rgb(183, 188, 47);
/* oklch */ color: oklch(76.7% 0.155 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf73',
    500: '#b7bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc2f;
$custom-light: #d0cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc2f",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 62.128,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76704,
    "c": 0.15491,
    "h": 111.6
  },
  "luminance": 0.46239
}

Semantic roles & 50–950 ramp

primary
#B7BC2F
secondary
#807DCA
accent
#45E34A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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