#B7CE40#B7CE40

#B7CE40 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 80.8% C 0.164 H 118.2°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#B7CE40
RGBrgb(183, 206, 64)
HSLhsl(70, 59%, 53%)
HSVhsv(70, 69%, 81%)
CMYKcmyk(11.2%, 0%, 68.9%, 19.2%)
CIE-LABlab(78.80, -26.19, 64.60)
CIE-LCHlch(78.80, 69.71, 112.07°)
OKLaboklab(80.83% -0.0777 0.1448)
OKLCHoklch(80.83% 0.164 118.2)
XYZxyz(42.5260, 54.5804, 13.1443)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CE40 #5740CE
analogous
#CE9E40 #B7CE40 #70CE40
triadic
#B7CE40 #40B7CE #CE40B7
tetradic
#B7CE40 #40CE9E #5740CE #CE4070
square
#B7CE40 #40CE9E #5740CE #CE4070
split-complementary
#B7CE40 #4070CE #9E40CE
monochromatic
#67751E #92A62B #B7CE40 #C9DA71 #DCE7A1

Accessibility & contrast

On white

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

On black

11.92
#B7CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CE40
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CE40#FFFFFF#000000##000000
##B7CE401.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC329
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#C2C3B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b7ce40;
/* rgb */ color: rgb(183, 206, 64);
/* oklch */ color: oklch(80.8% 0.164 118.2);
Tailwind
colors: {
  custom: {
    50: '#d0dc7d',
    500: '#b7ce40',
    950: '#000000',
  },
}
SCSS
$custom: #b7ce40;
$custom-light: #d0dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ce40",
  "rgb": {
    "r": 183,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 69.718,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80826,
    "c": 0.1643,
    "h": 118.2
  },
  "luminance": 0.5458
}

Semantic roles & 50–950 ramp

primary
#B7CE40
secondary
#40347E
accent
#45E25F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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