#B9CE40#B9CE40

#B9CE40 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.0% C 0.164 H 117.5°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#B9CE40
RGBrgb(185, 206, 64)
HSLhsl(69, 59%, 53%)
HSVhsv(69, 69%, 81%)
CMYKcmyk(10.2%, 0%, 68.9%, 19.2%)
CIE-LABlab(78.94, -25.38, 64.79)
CIE-LCHlch(78.94, 69.58, 111.39°)
OKLaboklab(80.98% -0.0756 0.1451)
OKLCHoklch(80.98% 0.164 117.5)
XYZxyz(43.0052, 54.8275, 13.1668)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CE40 #5540CE
analogous
#CE9C40 #B9CE40 #72CE40
triadic
#B9CE40 #40B9CE #CE40B9
tetradic
#B9CE40 #40CE9C #5540CE #CE4072
square
#B9CE40 #40CE9C #5540CE #CE4072
split-complementary
#B9CE40 #4072CE #9C40CE
monochromatic
#69751E #94A62B #B9CE40 #CBDA71 #DDE7A1

Accessibility & contrast

On white

1.76
#B9CE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#B9CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CE40
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CE40#FFFFFF#000000##000000
##B9CE401.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#DAC44B
Tritanopia (blue-blind)
#C4C3B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9ce40;
/* rgb */ color: rgb(185, 206, 64);
/* oklch */ color: oklch(81.0% 0.164 117.5);
Tailwind
colors: {
  custom: {
    50: '#d1dc7d',
    500: '#b9ce40',
    950: '#000000',
  },
}
SCSS
$custom: #b9ce40;
$custom-light: #d1dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ce40",
  "rgb": {
    "r": 185,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 68.873,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80976,
    "c": 0.1636,
    "h": 117.5
  },
  "luminance": 0.54827
}

Semantic roles & 50–950 ramp

primary
#B9CE40
secondary
#3F347E
accent
#45E25D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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