#B4BC2F#B4BC2F

#B4BC2F is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.156 H 112.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B4BC2F
RGBrgb(180, 188, 47)
HSLhsl(63, 60%, 46%)
HSVhsv(63, 75%, 74%)
CMYKcmyk(4.3%, 0%, 75%, 26.3%)
CIE-LABlab(73.46, -19.49, 65.30)
CIE-LCHlch(73.46, 68.15, 106.62°)
OKLaboklab(76.46% -0.0605 0.1435)
OKLCHoklch(76.46% 0.156 112.9)
XYZxyz(37.3199, 45.8758, 9.5778)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BC2F #372FBC
analogous
#BC7D2F #B4BC2F #6DBC2F
triadic
#B4BC2F #2FB4BC #BC2FB4
tetradic
#B4BC2F #2FBC7D #372FBC #BC2F6D
square
#B4BC2F #2FBC7D #372FBC #BC2F6D
split-complementary
#B4BC2F #2F6DBC #7D2FBC
monochromatic
#565A17 #858B23 #B4BC2F #CDD454 #DBE085

Accessibility & contrast

On white

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

On black

10.18
#B4BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BC2F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BC2F#FFFFFF#000000##000000
##B4BC2F1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bc2f;
/* rgb */ color: rgb(180, 188, 47);
/* oklch */ color: oklch(76.5% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#ced073',
    500: '#b4bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4bc2f;
$custom-light: #ced073;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bc2f",
  "rgb": {
    "r": 180,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 63.404,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76457,
    "c": 0.15569,
    "h": 112.9
  },
  "luminance": 0.45875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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