#B2C230#B2C230

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

Color values

HEX#B2C230
RGBrgb(178, 194, 48)
HSLhsl(67, 60%, 47%)
HSVhsv(67, 75%, 76%)
CMYKcmyk(8.2%, 0%, 75.3%, 23.9%)
CIE-LABlab(74.99, -23.26, 66.35)
CIE-LCHlch(74.99, 70.30, 109.32°)
OKLaboklab(77.64% -0.0707 0.1459)
OKLCHoklch(77.64% 0.162 115.9)
XYZxyz(38.1864, 48.2625, 10.0997)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C230 #4030C2
analogous
#C28930 #B2C230 #69C230
triadic
#B2C230 #30B2C2 #C230B2
tetradic
#B2C230 #30C289 #4030C2 #C23069
square
#B2C230 #30C289 #4030C2 #C23069
split-complementary
#B2C230 #3069C2 #8930C2
monochromatic
#586018 #859124 #B2C230 #C8D659 #D8E28A

Accessibility & contrast

On white

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

On black

10.65
#B2C230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C230
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C230#FFFFFF#000000##000000
##B2C2301.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80B
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#BEB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c230;
/* rgb */ color: rgb(178, 194, 48);
/* oklch */ color: oklch(77.6% 0.162 115.9);
Tailwind
colors: {
  custom: {
    50: '#cdd474',
    500: '#b2c230',
    950: '#000000',
  },
}
SCSS
$custom: #b2c230;
$custom-light: #cdd474;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c230",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 48
  },
  "hsl": {
    "h": 66.575,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77644,
    "c": 0.16215,
    "h": 115.9
  },
  "luminance": 0.48262
}

Semantic roles & 50–950 ramp

primary
#B2C230
secondary
#8A82CC
accent
#44E356
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C230

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

Preview Lab → · Contrast checker → · Palette generator →

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