#B2C259#B2C259

#B2C259 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.132 H 116.8°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#B2C259
RGBrgb(178, 194, 89)
HSLhsl(69, 46%, 55%)
HSVhsv(69, 54%, 76%)
CMYKcmyk(8.2%, 0%, 54.1%, 23.9%)
CIE-LABlab(75.31, -20.58, 50.19)
CIE-LCHlch(75.31, 54.25, 112.30°)
OKLaboklab(78% -0.0593 0.1176)
OKLCHoklch(78% 0.132 116.8)
XYZxyz(39.4557, 48.7702, 16.7843)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C259 #6959C2
analogous
#C29D59 #B2C259 #7DC259
triadic
#B2C259 #59B2C2 #C259B2
tetradic
#B2C259 #59C29D #6959C2 #C2597D
square
#B2C259 #59C29D #6959C2 #C2597D
split-complementary
#B2C259 #597DC2 #9D59C2
monochromatic
#6A752B #93A23C #B2C259 #C7D286 #DCE3B3

Accessibility & contrast

On white

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

On black

10.75
#B2C259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C259
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C259#FFFFFF#000000##000000
##B2C2591.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94F
Deuteranopia (green-blind)
#CCBA5F
Tritanopia (blue-blind)
#BBB8AB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c259;
/* rgb */ color: rgb(178, 194, 89);
/* oklch */ color: oklch(78.0% 0.132 116.8);
Tailwind
colors: {
  custom: {
    50: '#cbd48b',
    500: '#b2c259',
    950: '#000000',
  },
}
SCSS
$custom: #b2c259;
$custom-light: #cbd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c259",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 69.143,
    "s": 46.256,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78001,
    "c": 0.13166,
    "h": 116.8
  },
  "luminance": 0.4877
}

Semantic roles & 50–950 ramp

primary
#B2C259
secondary
#ACA6D1
accent
#52D666
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B2C259

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

Preview Lab → · Contrast checker → · Palette generator →

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