#B7C352#B7C352

#B7C352 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.138 H 114.7°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#B7C352
RGBrgb(183, 195, 82)
HSLhsl(66, 48%, 54%)
HSVhsv(66, 58%, 76%)
CMYKcmyk(6.2%, 0%, 57.9%, 23.5%)
CIE-LABlab(75.89, -19.62, 54.14)
CIE-LCHlch(75.89, 57.58, 109.92°)
OKLaboklab(78.54% -0.0575 0.1252)
OKLCHoklch(78.54% 0.138 114.7)
XYZxyz(40.5674, 49.7073, 15.4384)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C352 #5E52C3
analogous
#C39752 #B7C352 #7FC352
triadic
#B7C352 #52B7C3 #C352B7
tetradic
#B7C352 #52C397 #5E52C3 #C3527F
square
#B7C352 #52C397 #5E52C3 #C3527F
split-complementary
#B7C352 #527FC3 #9752C3
monochromatic
#6B7328 #95A038 #B7C352 #CAD37F #DDE3AD

Accessibility & contrast

On white

1.92
#B7C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#B7C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C352
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C352#FFFFFF#000000##000000
##B7C3521.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#C2B9AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b7c352;
/* rgb */ color: rgb(183, 195, 82);
/* oklch */ color: oklch(78.5% 0.138 114.7);
Tailwind
colors: {
  custom: {
    50: '#cfd587',
    500: '#b7c352',
    950: '#000000',
  },
}
SCSS
$custom: #b7c352;
$custom-light: #cfd587;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c352",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 66.372,
    "s": 48.498,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78537,
    "c": 0.13776,
    "h": 114.7
  },
  "luminance": 0.49707
}

Semantic roles & 50–950 ramp

primary
#B7C352
secondary
#A6A0D0
accent
#50D85E
background
#FDFDF8
surface
#FAFAF0
border
#D3D3CB
text
#14140B
muted
#83837C

Preview Lab

Preview with #B7C352

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

Preview Lab → · Contrast checker → · Palette generator →

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