#B5BC2F#B5BC2F

#B5BC2F is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.155 H 112.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#B5BC2F
RGBrgb(181, 188, 47)
HSLhsl(63, 60%, 46%)
HSVhsv(63, 75%, 74%)
CMYKcmyk(3.7%, 0%, 75%, 26.3%)
CIE-LABlab(73.54, -19.07, 65.40)
CIE-LCHlch(73.54, 68.13, 106.25°)
OKLaboklab(76.54% -0.0593 0.1437)
OKLCHoklch(76.54% 0.155 112.4)
XYZxyz(37.5536, 45.9963, 9.5887)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC2F #362FBC
analogous
#BC7C2F #B5BC2F #6EBC2F
triadic
#B5BC2F #2FB5BC #BC2FB5
tetradic
#B5BC2F #2FBC7C #362FBC #BC2F6E
square
#B5BC2F #2FBC7C #362FBC #BC2F6E
split-complementary
#B5BC2F #2F6EBC #7C2FBC
monochromatic
#575A17 #868B23 #B5BC2F #CED454 #DCE085

Accessibility & contrast

On white

2.06
#B5BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#B5BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC2F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC2F#FFFFFF#000000##000000
##B5BC2F1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB30D
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#C2B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc2f;
/* rgb */ color: rgb(181, 188, 47);
/* oklch */ color: oklch(76.5% 0.155 112.4);
Tailwind
colors: {
  custom: {
    50: '#cfd073',
    500: '#b5bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc2f;
$custom-light: #cfd073;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc2f",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 62.979,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76539,
    "c": 0.15542,
    "h": 112.4
  },
  "luminance": 0.45995
}

Semantic roles & 50–950 ramp

primary
#B5BC2F
secondary
#817DCA
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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