#B7CE42#B7CE42

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

Color values

HEX#B7CE42
RGBrgb(183, 206, 66)
HSLhsl(70, 59%, 53%)
HSVhsv(70, 68%, 81%)
CMYKcmyk(11.2%, 0%, 68%, 19.2%)
CIE-LABlab(78.81, -26.08, 63.87)
CIE-LCHlch(78.81, 68.98, 112.21°)
OKLaboklab(80.84% -0.0772 0.1435)
OKLCHoklch(80.84% 0.163 118.3)
XYZxyz(42.5840, 54.6036, 13.4494)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CE42 #5942CE
analogous
#CE9F42 #B7CE42 #71CE42
triadic
#B7CE42 #42B7CE #CE42B7
tetradic
#B7CE42 #42CE9F #5942CE #CE4271
square
#B7CE42 #42CE9F #5942CE #CE4271
split-complementary
#B7CE42 #4271CE #9F42CE
monochromatic
#68771F #93A72B #B7CE42 #CADB73 #DCE7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CE42#FFFFFF#000000##000000
##B7CE421.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)
#DBC32D
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#C2C3B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b7ce42;
/* rgb */ color: rgb(183, 206, 66);
/* oklch */ color: oklch(80.8% 0.163 118.3);
Tailwind
colors: {
  custom: {
    50: '#d0dc7e',
    500: '#b7ce42',
    950: '#000000',
  },
}
SCSS
$custom: #b7ce42;
$custom-light: #d0dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ce42",
  "rgb": {
    "r": 183,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 69.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80841,
    "c": 0.16296,
    "h": 118.3
  },
  "luminance": 0.54603
}

Semantic roles & 50–950 ramp

primary
#B7CE42
secondary
#41357F
accent
#46E25F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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