#B7C152#B7C152

#B7C152 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.1% C 0.135 H 113.8°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#B7C152
RGBrgb(183, 193, 82)
HSLhsl(65, 47%, 54%)
HSVhsv(65, 58%, 76%)
CMYKcmyk(5.2%, 0%, 57.5%, 24.3%)
CIE-LABlab(75.34, -18.62, 53.52)
CIE-LCHlch(75.34, 56.67, 109.18°)
OKLaboklab(78.1% -0.0547 0.1239)
OKLCHoklch(78.1% 0.135 113.8)
XYZxyz(40.1223, 48.8171, 15.2901)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C152 #5C52C1
analogous
#C19452 #B7C152 #80C152
triadic
#B7C152 #52B7C1 #C152B7
tetradic
#B7C152 #52C194 #5C52C1 #C15280
square
#B7C152 #52C194 #5C52C1 #C15280
split-complementary
#B7C152 #5280C1 #9452C1
monochromatic
#6A7028 #949D38 #B7C152 #CAD17F #DDE1AC

Accessibility & contrast

On white

1.95
#B7C152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#B7C152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C152
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C152#FFFFFF#000000##000000
##B7C1521.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB846
Deuteranopia (green-blind)
#CDBB59
Tritanopia (blue-blind)
#C2B7A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c152;
/* rgb */ color: rgb(183, 193, 82);
/* oklch */ color: oklch(78.1% 0.135 113.8);
Tailwind
colors: {
  custom: {
    50: '#cfd387',
    500: '#b7c152',
    950: '#000000',
  },
}
SCSS
$custom: #b7c152;
$custom-light: #cfd387;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c152",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 65.405,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78095,
    "c": 0.13541,
    "h": 113.8
  },
  "luminance": 0.48816
}

Semantic roles & 50–950 ramp

primary
#B7C152
secondary
#A4A0CF
accent
#51D75D
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7C152

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

Preview Lab → · Contrast checker → · Palette generator →

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