#B2C261#B2C261

#B2C261 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.1% C 0.124 H 117.1°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#B2C261
RGBrgb(178, 194, 97)
HSLhsl(70, 44%, 57%)
HSVhsv(70, 50%, 76%)
CMYKcmyk(8.2%, 0%, 50%, 23.9%)
CIE-LABlab(75.40, -19.85, 46.51)
CIE-LCHlch(75.40, 50.57, 113.11°)
OKLaboklab(78.1% -0.0564 0.1103)
OKLCHoklch(78.1% 0.124 117.1)
XYZxyz(39.8100, 48.9120, 18.6507)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C261 #7161C2
analogous
#C2A261 #B2C261 #82C261
triadic
#B2C261 #61B2C2 #C261B2
tetradic
#B2C261 #61C2A2 #7161C2 #C26182
square
#B2C261 #61C2A2 #7161C2 #C26182
split-complementary
#B2C261 #6182C2 #A261C2
monochromatic
#6D7A2F #95A640 #B2C261 #C8D38D #DDE4B9

Accessibility & contrast

On white

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

On black

10.78
#B2C261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C261
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C261#FFFFFF#000000##000000
##B2C2611.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB958
Deuteranopia (green-blind)
#CCBA66
Tritanopia (blue-blind)
#BBB9AC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c261;
/* rgb */ color: rgb(178, 194, 97);
/* oklch */ color: oklch(78.1% 0.124 117.1);
Tailwind
colors: {
  custom: {
    50: '#cbd490',
    500: '#b2c261',
    950: '#000000',
  },
}
SCSS
$custom: #b2c261;
$custom-light: #cbd490;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c261",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 69.897,
    "s": 44.292,
    "l": 57.059
  },
  "oklch": {
    "l": 0.781,
    "c": 0.1239,
    "h": 117.1
  },
  "luminance": 0.48912
}

Semantic roles & 50–950 ramp

primary
#B2C261
secondary
#B2ACD3
accent
#54D469
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #B2C261

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

Preview Lab → · Contrast checker → · Palette generator →

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