#B5CE2F#B5CE2F

#B5CE2F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.6% C 0.175 H 118.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#B5CE2F
RGBrgb(181, 206, 47)
HSLhsl(69, 63%, 50%)
HSVhsv(69, 77%, 81%)
CMYKcmyk(12.1%, 0%, 77.2%, 19.2%)
CIE-LABlab(78.56, -27.84, 70.03)
CIE-LCHlch(78.56, 75.36, 111.68°)
OKLaboklab(80.57% -0.0836 0.1535)
OKLCHoklch(80.57% 0.175 118.6)
XYZxyz(41.6414, 54.1720, 10.9513)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CE2F #482FCE
analogous
#CE982F #B5CE2F #66CE2F
triadic
#B5CE2F #2FB5CE #CE2FB5
tetradic
#B5CE2F #2FCE98 #482FCE #CE2F66
square
#B5CE2F #2FCE98 #482FCE #CE2F66
split-complementary
#B5CE2F #2F66CE #982FCE
monochromatic
#5D6A18 #899C24 #B5CE2F #C7DB60 #D9E691

Accessibility & contrast

On white

1.77
#B5CE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#B5CE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CE2F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CE2F#FFFFFF#000000##000000
##B5CE2F1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ce2f;
/* rgb */ color: rgb(181, 206, 47);
/* oklch */ color: oklch(80.6% 0.175 118.6);
Tailwind
colors: {
  custom: {
    50: '#cfdc75',
    500: '#b5ce2f',
    950: '#000000',
  },
}
SCSS
$custom: #b5ce2f;
$custom-light: #cfdc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ce2f",
  "rgb": {
    "r": 181,
    "g": 206,
    "b": 47
  },
  "hsl": {
    "h": 69.434,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80569,
    "c": 0.17474,
    "h": 118.6
  },
  "luminance": 0.54172
}

Semantic roles & 50–950 ramp

primary
#B5CE2F
secondary
#382D74
accent
#42E65C
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B5CE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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