#B2C233#B2C233

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

Color values

HEX#B2C233
RGBrgb(178, 194, 51)
HSLhsl(67, 58%, 48%)
HSVhsv(67, 74%, 76%)
CMYKcmyk(8.2%, 0%, 73.7%, 23.9%)
CIE-LABlab(75.01, -23.12, 65.38)
CIE-LCHlch(75.01, 69.34, 109.47°)
OKLaboklab(77.66% -0.0701 0.1444)
OKLCHoklch(77.66% 0.16 115.9)
XYZxyz(38.2504, 48.2882, 10.4369)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C233 #4333C2
analogous
#C28A33 #B2C233 #6BC233
triadic
#B2C233 #33B2C2 #C233B2
tetradic
#B2C233 #33C28A #4333C2 #C2336B
square
#B2C233 #33C28A #4333C2 #C2336B
split-complementary
#B2C233 #336BC2 #8A33C2
monochromatic
#59611A #869226 #B2C233 #C7D55E #D8E18E

Accessibility & contrast

On white

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

On black

10.66
#B2C233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C233
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C233#FFFFFF#000000##000000
##B2C2331.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c233;
/* rgb */ color: rgb(178, 194, 51);
/* oklch */ color: oklch(77.7% 0.160 115.9);
Tailwind
colors: {
  custom: {
    50: '#cdd475',
    500: '#b2c233',
    950: '#000000',
  },
}
SCSS
$custom: #b2c233;
$custom-light: #cdd475;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c233",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 66.713,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77662,
    "c": 0.16049,
    "h": 115.9
  },
  "luminance": 0.48288
}

Semantic roles & 50–950 ramp

primary
#B2C233
secondary
#8D85CC
accent
#46E258
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C233

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

Preview Lab → · Contrast checker → · Palette generator →

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