#B7C854#B7C854

#B7C854 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.7% C 0.142 H 116.7°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#B7C854
RGBrgb(183, 200, 84)
HSLhsl(69, 51%, 56%)
HSVhsv(69, 58%, 78%)
CMYKcmyk(8.5%, 0%, 58%, 21.6%)
CIE-LABlab(77.29, -21.93, 54.81)
CIE-LCHlch(77.29, 59.04, 111.81°)
OKLaboklab(79.66% -0.0639 0.1268)
OKLCHoklch(79.66% 0.142 116.7)
XYZxyz(41.7837, 52.0164, 16.2248)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C854 #6554C8
analogous
#C89F54 #B7C854 #7DC854
triadic
#B7C854 #54B7C8 #C854B7
tetradic
#B7C854 #54C89F #6554C8 #C8547D
square
#B7C854 #54C89F #6554C8 #C8547D
split-complementary
#B7C854 #547DC8 #9F54C8
monochromatic
#6E7A27 #98A936 #B7C854 #CAD782 #DEE6B1

Accessibility & contrast

On white

1.84
#B7C854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#B7C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C854
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C854#FFFFFF#000000##000000
##B7C8541.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE47
Deuteranopia (green-blind)
#D3C05B
Tritanopia (blue-blind)
#C1BEAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c854;
/* rgb */ color: rgb(183, 200, 84);
/* oklch */ color: oklch(79.7% 0.142 116.7);
Tailwind
colors: {
  custom: {
    50: '#cfd888',
    500: '#b7c854',
    950: '#000000',
  },
}
SCSS
$custom: #b7c854;
$custom-light: #cfd888;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c854",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 68.793,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79665,
    "c": 0.14201,
    "h": 116.7
  },
  "luminance": 0.52016
}

Semantic roles & 50–950 ramp

primary
#B7C854
secondary
#483E83
accent
#4DDB62
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B7C854

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

Preview Lab → · Contrast checker → · Palette generator →

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