#B2C047#B2C047

#B2C047 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.145 H 115.5°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B2C047
RGBrgb(178, 192, 71)
HSLhsl(67, 49%, 52%)
HSVhsv(67, 63%, 75%)
CMYKcmyk(7.3%, 0%, 63%, 24.7%)
CIE-LABlab(74.58, -20.99, 57.37)
CIE-LCHlch(74.58, 61.09, 110.09°)
OKLaboklab(77.37% -0.0622 0.1307)
OKLCHoklch(77.37% 0.145 115.5)
XYZxyz(38.3479, 47.6198, 13.1314)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C047 #5547C0
analogous
#C09247 #B2C047 #76C047
triadic
#B2C047 #47B2C0 #C047B2
tetradic
#B2C047 #47C092 #5547C0 #C04776
square
#B2C047 #47C092 #5547C0 #C04776
split-complementary
#B2C047 #4776C0 #9247C0
monochromatic
#616924 #8B9633 #B2C047 #C5D075 #D8DFA2

Accessibility & contrast

On white

2.00
#B2C047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B2C047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C047
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C047#FFFFFF#000000##000000
##B2C0471.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#CCB84F
Tritanopia (blue-blind)
#BDB6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c047;
/* rgb */ color: rgb(178, 192, 71);
/* oklch */ color: oklch(77.4% 0.145 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd280',
    500: '#b2c047',
    950: '#000000',
  },
}
SCSS
$custom: #b2c047;
$custom-light: #ccd280;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c047",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 66.942,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77367,
    "c": 0.14474,
    "h": 115.5
  },
  "luminance": 0.47619
}

Semantic roles & 50–950 ramp

primary
#B2C047
secondary
#9D97CC
accent
#4FD95F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C047

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

Preview Lab → · Contrast checker → · Palette generator →

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