#B2C247#B2C247

#B2C247 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.147 H 116.2°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#B2C247
RGBrgb(178, 194, 71)
HSLhsl(68, 50%, 52%)
HSVhsv(68, 63%, 76%)
CMYKcmyk(8.2%, 0%, 63.4%, 23.9%)
CIE-LABlab(75.14, -21.97, 57.96)
CIE-LCHlch(75.14, 61.99, 110.76°)
OKLaboklab(77.81% -0.065 0.1319)
OKLCHoklch(77.81% 0.147 116.2)
XYZxyz(38.7900, 48.5040, 13.2788)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C247 #5747C2
analogous
#C29547 #B2C247 #75C247
triadic
#B2C247 #47B2C2 #C247B2
tetradic
#B2C247 #47C295 #5747C2 #C24775
square
#B2C247 #47C295 #5747C2 #C24775
split-complementary
#B2C247 #4775C2 #9547C2
monochromatic
#626B24 #8C9933 #B2C247 #C5D175 #D8E0A3

Accessibility & contrast

On white

1.96
#B2C247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#B2C247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C247
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C247#FFFFFF#000000##000000
##B2C2471.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB837
Deuteranopia (green-blind)
#CDBA4F
Tritanopia (blue-blind)
#BDB8A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c247;
/* rgb */ color: rgb(178, 194, 71);
/* oklch */ color: oklch(77.8% 0.147 116.2);
Tailwind
colors: {
  custom: {
    50: '#ccd480',
    500: '#b2c247',
    950: '#000000',
  },
}
SCSS
$custom: #b2c247;
$custom-light: #ccd480;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c247",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 67.805,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77814,
    "c": 0.14707,
    "h": 116.2
  },
  "luminance": 0.48503
}

Semantic roles & 50–950 ramp

primary
#B2C247
secondary
#9E97CD
accent
#4EDA60
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C247

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

Preview Lab → · Contrast checker → · Palette generator →

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