#B4BD2F#B4BD2F

#B4BD2F is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.157 H 113.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B4BD2F
RGBrgb(180, 189, 47)
HSLhsl(64, 60%, 46%)
HSVhsv(64, 75%, 74%)
CMYKcmyk(4.8%, 0%, 75.1%, 25.9%)
CIE-LABlab(73.74, -19.99, 65.56)
CIE-LCHlch(73.74, 68.54, 106.96°)
OKLaboklab(76.68% -0.0618 0.144)
OKLCHoklch(76.68% 0.157 113.2)
XYZxyz(37.5343, 46.3046, 9.6492)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD2F #382FBD
analogous
#BD7F2F #B4BD2F #6DBD2F
triadic
#B4BD2F #2FB4BD #BD2FB4
tetradic
#B4BD2F #2FBD7F #382FBD #BD2F6D
square
#B4BD2F #2FBD7F #382FBD #BD2F6D
split-complementary
#B4BD2F #2F6DBD #7F2FBD
monochromatic
#575B17 #858C23 #B4BD2F #CDD555 #DBE186

Accessibility & contrast

On white

2.05
#B4BD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B4BD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD2F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD2F#FFFFFF#000000##000000
##B4BD2F1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40C
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#C0B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd2f;
/* rgb */ color: rgb(180, 189, 47);
/* oklch */ color: oklch(76.7% 0.157 113.2);
Tailwind
colors: {
  custom: {
    50: '#ced073',
    500: '#b4bd2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd2f;
$custom-light: #ced073;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd2f",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 63.803,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76679,
    "c": 0.15674,
    "h": 113.2
  },
  "luminance": 0.46304
}

Semantic roles & 50–950 ramp

primary
#B4BD2F
secondary
#827ECA
accent
#44E34F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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