#B4BF4F#B4BF4F

#B4BF4F is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.4% C 0.136 H 114.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#B4BF4F
RGBrgb(180, 191, 79)
HSLhsl(66, 47%, 53%)
HSVhsv(66, 59%, 75%)
CMYKcmyk(5.8%, 0%, 58.6%, 25.1%)
CIE-LABlab(74.53, -19.09, 53.90)
CIE-LCHlch(74.53, 57.18, 109.50°)
OKLaboklab(77.38% -0.0562 0.1243)
OKLCHoklch(77.38% 0.136 114.3)
XYZxyz(38.8653, 47.5301, 14.5225)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF4F #5A4FBF
analogous
#BF924F #B4BF4F #7CBF4F
triadic
#B4BF4F #4FB4BF #BF4FB4
tetradic
#B4BF4F #4FBF92 #5A4FBF #BF4F7C
square
#B4BF4F #4FBF92 #5A4FBF #BF4F7C
split-complementary
#B4BF4F #4F7CBF #924FBF
monochromatic
#656C27 #909938 #B4BF4F #C7CF7C #DAE0A9

Accessibility & contrast

On white

2.00
#B4BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#B4BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF4F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF4F#FFFFFF#000000##000000
##B4BF4F1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB643
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#BFB5A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf4f;
/* rgb */ color: rgb(180, 191, 79);
/* oklch */ color: oklch(77.4% 0.136 114.3);
Tailwind
colors: {
  custom: {
    50: '#cdd285',
    500: '#b4bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf4f;
$custom-light: #cdd285;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf4f",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 65.893,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77381,
    "c": 0.13645,
    "h": 114.3
  },
  "luminance": 0.47529
}

Semantic roles & 50–950 ramp

primary
#B4BF4F
secondary
#A19DCD
accent
#51D65F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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