#B4BC2E#B4BC2E

#B4BC2E 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.17:1 contrast (WCAG AA passes).

Color values

HEX#B4BC2E
RGBrgb(180, 188, 46)
HSLhsl(63, 61%, 46%)
HSVhsv(63, 76%, 74%)
CMYKcmyk(4.3%, 0%, 75.5%, 26.3%)
CIE-LABlab(73.46, -19.54, 65.62)
CIE-LCHlch(73.46, 68.47, 106.58°)
OKLaboklab(76.45% -0.0607 0.144)
OKLCHoklch(76.45% 0.156 112.9)
XYZxyz(37.3000, 45.8678, 9.4727)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BC2E #362EBC
analogous
#BC7D2E #B4BC2E #6DBC2E
triadic
#B4BC2E #2EB4BC #BC2EB4
tetradic
#B4BC2E #2EBC7D #362EBC #BC2E6D
square
#B4BC2E #2EBC7D #362EBC #BC2E6D
split-complementary
#B4BC2E #2E6DBC #7D2EBC
monochromatic
#565A16 #858B22 #B4BC2E #CDD552 #DCE184

Accessibility & contrast

On white

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

On black

10.17
#B4BC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BC2E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BC2E#FFFFFF#000000##000000
##B4BC2E1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bc2e;
/* rgb */ color: rgb(180, 188, 46);
/* oklch */ color: oklch(76.5% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#ced072',
    500: '#b4bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #b4bc2e;
$custom-light: #ced072;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bc2e",
  "rgb": {
    "r": 180,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 63.38,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76451,
    "c": 0.15622,
    "h": 112.9
  },
  "luminance": 0.45867
}

Semantic roles & 50–950 ramp

primary
#B4BC2E
secondary
#807CCA
accent
#44E44D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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