#B4BF2F#B4BF2F

#B4BF2F is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.159 H 114.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#B4BF2F
RGBrgb(180, 191, 47)
HSLhsl(65, 61%, 47%)
HSVhsv(65, 75%, 75%)
CMYKcmyk(5.8%, 0%, 75.4%, 25.1%)
CIE-LABlab(74.30, -20.98, 66.08)
CIE-LCHlch(74.30, 69.33, 107.62°)
OKLaboklab(77.13% -0.0646 0.1451)
OKLCHoklch(77.13% 0.159 114)
XYZxyz(37.9674, 47.1709, 9.7936)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF2F #3A2FBF
analogous
#BF822F #B4BF2F #6CBF2F
triadic
#B4BF2F #2FB4BF #BF2FB4
tetradic
#B4BF2F #2FBF82 #3A2FBF #BF2F6C
square
#B4BF2F #2FBF82 #3A2FBF #BF2F6C
split-complementary
#B4BF2F #2F6CBF #822FBF
monochromatic
#575D17 #868E23 #B4BF2F #CCD556 #DBE187

Accessibility & contrast

On white

2.01
#B4BF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#B4BF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF2F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF2F#FFFFFF#000000##000000
##B4BF2F1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50A
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C0B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf2f;
/* rgb */ color: rgb(180, 191, 47);
/* oklch */ color: oklch(77.1% 0.159 114.0);
Tailwind
colors: {
  custom: {
    50: '#ced273',
    500: '#b4bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf2f;
$custom-light: #ced273;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf2f",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 64.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77125,
    "c": 0.15884,
    "h": 114
  },
  "luminance": 0.4717
}

Semantic roles & 50–950 ramp

primary
#B4BF2F
secondary
#857FCB
accent
#44E450
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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