#B4BE2F#B4BE2F

#B4BE2F is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.158 H 113.6°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#B4BE2F
RGBrgb(180, 190, 47)
HSLhsl(64, 60%, 46%)
HSVhsv(64, 75%, 75%)
CMYKcmyk(5.3%, 0%, 75.3%, 25.5%)
CIE-LABlab(74.02, -20.49, 65.82)
CIE-LCHlch(74.02, 68.93, 107.29°)
OKLaboklab(76.9% -0.0632 0.1446)
OKLCHoklch(76.9% 0.158 113.6)
XYZxyz(37.7501, 46.7362, 9.7212)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BE2F #392FBE
analogous
#BE812F #B4BE2F #6DBE2F
triadic
#B4BE2F #2FB4BE #BE2FB4
tetradic
#B4BE2F #2FBE81 #392FBE #BE2F6D
square
#B4BE2F #2FBE81 #392FBE #BE2F6D
split-complementary
#B4BE2F #2F6DBE #812FBE
monochromatic
#575C17 #868D23 #B4BE2F #CCD555 #DBE186

Accessibility & contrast

On white

2.03
#B4BE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#B4BE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BE2F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BE2F#FFFFFF#000000##000000
##B4BE2F1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB50B
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#C0B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b4be2f;
/* rgb */ color: rgb(180, 190, 47);
/* oklch */ color: oklch(76.9% 0.158 113.6);
Tailwind
colors: {
  custom: {
    50: '#ced173',
    500: '#b4be2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4be2f;
$custom-light: #ced173;
$custom-dark: #000000;
JSON
{
  "hex": "#b4be2f",
  "rgb": {
    "r": 180,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 64.196,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76902,
    "c": 0.15778,
    "h": 113.6
  },
  "luminance": 0.46735
}

Semantic roles & 50–950 ramp

primary
#B4BE2F
secondary
#837ECB
accent
#44E34F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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