#B4CE2F#B4CE2F

#B4CE2F is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.5% C 0.175 H 118.9°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#B4CE2F
RGBrgb(180, 206, 47)
HSLhsl(70, 63%, 50%)
HSVhsv(70, 77%, 81%)
CMYKcmyk(12.6%, 0%, 77.2%, 19.2%)
CIE-LABlab(78.49, -28.25, 69.94)
CIE-LCHlch(78.49, 75.43, 112.00°)
OKLaboklab(80.5% -0.0847 0.1533)
OKLCHoklch(80.5% 0.175 118.9)
XYZxyz(41.4077, 54.0515, 10.9404)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CE2F #492FCE
analogous
#CE982F #B4CE2F #65CE2F
triadic
#B4CE2F #2FB4CE #CE2FB4
tetradic
#B4CE2F #2FCE98 #492FCE #CE2F65
square
#B4CE2F #2FCE98 #492FCE #CE2F65
split-complementary
#B4CE2F #2F65CE #982FCE
monochromatic
#5D6A18 #889C24 #B4CE2F #C7DB60 #D8E691

Accessibility & contrast

On white

1.78
#B4CE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#B4CE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CE2F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CE2F#FFFFFF#000000##000000
##B4CE2F1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#BFC3B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b4ce2f;
/* rgb */ color: rgb(180, 206, 47);
/* oklch */ color: oklch(80.5% 0.175 118.9);
Tailwind
colors: {
  custom: {
    50: '#cedc75',
    500: '#b4ce2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4ce2f;
$custom-light: #cedc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ce2f",
  "rgb": {
    "r": 180,
    "g": 206,
    "b": 47
  },
  "hsl": {
    "h": 69.811,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80495,
    "c": 0.17512,
    "h": 118.9
  },
  "luminance": 0.54051
}

Semantic roles & 50–950 ramp

primary
#B4CE2F
secondary
#392D74
accent
#42E65D
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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