#B2C239#B2C239

#B2C239 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.157 H 116.0°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#B2C239
RGBrgb(178, 194, 57)
HSLhsl(67, 55%, 49%)
HSVhsv(67, 71%, 76%)
CMYKcmyk(8.2%, 0%, 70.6%, 23.9%)
CIE-LABlab(75.04, -22.82, 63.32)
CIE-LCHlch(75.04, 67.30, 109.82°)
OKLaboklab(77.7% -0.0687 0.1411)
OKLCHoklch(77.7% 0.157 116)
XYZxyz(38.3914, 48.3445, 11.1791)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C239 #4939C2
analogous
#C28E39 #B2C239 #6EC239
triadic
#B2C239 #39B2C2 #C239B2
tetradic
#B2C239 #39C28E #4939C2 #C2396E
square
#B2C239 #39C28E #4939C2 #C2396E
split-complementary
#B2C239 #396EC2 #8E39C2
monochromatic
#5B631D #87932B #B2C239 #C5D266 #D7E095

Accessibility & contrast

On white

1.97
#B2C239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#B2C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C239
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C239#FFFFFF#000000##000000
##B2C2391.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB821
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#BDB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c239;
/* rgb */ color: rgb(178, 194, 57);
/* oklch */ color: oklch(77.7% 0.157 116.0);
Tailwind
colors: {
  custom: {
    50: '#ccd478',
    500: '#b2c239',
    950: '#000000',
  },
}
SCSS
$custom: #b2c239;
$custom-light: #ccd478;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c239",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 67.007,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77702,
    "c": 0.1569,
    "h": 116
  },
  "luminance": 0.48344
}

Semantic roles & 50–950 ramp

primary
#B2C239
secondary
#938BCB
accent
#4ADE5B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C239

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

Preview Lab → · Contrast checker → · Palette generator →

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