#B4BF30#B4BF30

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

Color values

HEX#B4BF30
RGBrgb(180, 191, 48)
HSLhsl(65, 60%, 47%)
HSVhsv(65, 75%, 75%)
CMYKcmyk(5.8%, 0%, 74.9%, 25.1%)
CIE-LABlab(74.30, -20.94, 65.76)
CIE-LCHlch(74.30, 69.01, 107.66°)
OKLaboklab(77.13% -0.0644 0.1446)
OKLCHoklch(77.13% 0.158 114)
XYZxyz(37.9878, 47.1791, 9.9011)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF30 #3B30BF
analogous
#BF8230 #B4BF30 #6DBF30
triadic
#B4BF30 #30B4BF #BF30B4
tetradic
#B4BF30 #30BF82 #3B30BF #BF306D
square
#B4BF30 #30BF82 #3B30BF #BF306D
split-complementary
#B4BF30 #306DBF #8230BF
monochromatic
#585D17 #868E24 #B4BF30 #CBD557 #DAE188

Accessibility & contrast

On white

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

On black

10.44
#B4BF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF30
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF30#FFFFFF#000000##000000
##B4BF301.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bf30;
/* rgb */ color: rgb(180, 191, 48);
/* oklch */ color: oklch(77.1% 0.158 114.0);
Tailwind
colors: {
  custom: {
    50: '#ced274',
    500: '#b4bf30',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf30;
$custom-light: #ced274;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf30",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 64.615,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77131,
    "c": 0.1583,
    "h": 114
  },
  "luminance": 0.47178
}

Semantic roles & 50–950 ramp

primary
#B4BF30
secondary
#8680CB
accent
#45E351
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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