#B2C430#B2C430

#B2C430 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.1% C 0.164 H 116.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B2C430
RGBrgb(178, 196, 48)
HSLhsl(67, 61%, 48%)
HSVhsv(67, 76%, 77%)
CMYKcmyk(9.2%, 0%, 75.5%, 23.1%)
CIE-LABlab(75.55, -24.23, 66.87)
CIE-LCHlch(75.55, 71.12, 109.92°)
OKLaboklab(78.09% -0.0734 0.147)
OKLCHoklch(78.09% 0.164 116.5)
XYZxyz(38.6345, 49.1588, 10.2491)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C430 #4230C4
analogous
#C48C30 #B2C430 #68C430
triadic
#B2C430 #30B2C4 #C430B2
tetradic
#B2C430 #30C48C #4230C4 #C43068
square
#B2C430 #30C48C #4230C4 #C43068
split-complementary
#B2C430 #3068C4 #8C30C4
monochromatic
#596218 #859324 #B2C430 #C8D75A #D8E38C

Accessibility & contrast

On white

1.94
#B2C430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#B2C430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C430
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C430#FFFFFF#000000##000000
##B2C4301.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B909
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#BDB9A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c430;
/* rgb */ color: rgb(178, 196, 48);
/* oklch */ color: oklch(78.1% 0.164 116.5);
Tailwind
colors: {
  custom: {
    50: '#cdd574',
    500: '#b2c430',
    950: '#000000',
  },
}
SCSS
$custom: #b2c430;
$custom-light: #cdd574;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c430",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 48
  },
  "hsl": {
    "h": 67.297,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.16432,
    "h": 116.5
  },
  "luminance": 0.49158
}

Semantic roles & 50–950 ramp

primary
#B2C430
secondary
#8C83CD
accent
#44E457
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C430

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

Preview Lab → · Contrast checker → · Palette generator →

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