#B2C04A#B2C04A

#B2C04A is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.142 H 115.5°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B2C04A
RGBrgb(178, 192, 74)
HSLhsl(67, 48%, 52%)
HSVhsv(67, 61%, 75%)
CMYKcmyk(7.3%, 0%, 61.5%, 24.7%)
CIE-LABlab(74.61, -20.78, 56.12)
CIE-LCHlch(74.61, 59.85, 110.32°)
OKLaboklab(77.4% -0.0613 0.1285)
OKLCHoklch(77.4% 0.142 115.5)
XYZxyz(38.4466, 47.6592, 13.6510)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C04A #584AC0
analogous
#C0934A #B2C04A #77C04A
triadic
#B2C04A #4AB2C0 #C04AB2
tetradic
#B2C04A #4AC093 #584AC0 #C04A77
square
#B2C04A #4AC093 #584AC0 #C04A77
split-complementary
#B2C04A #4A77C0 #934AC0
monochromatic
#626B25 #8C9835 #B2C04A #C5D077 #D9E0A5

Accessibility & contrast

On white

1.99
#B2C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#B2C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C04A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C04A#FFFFFF#000000##000000
##B2C04A1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#CCB952
Tritanopia (blue-blind)
#BDB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c04a;
/* rgb */ color: rgb(178, 192, 74);
/* oklch */ color: oklch(77.4% 0.142 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd282',
    500: '#b2c04a',
    950: '#000000',
  },
}
SCSS
$custom: #b2c04a;
$custom-light: #ccd282;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c04a",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 67.119,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77395,
    "c": 0.14235,
    "h": 115.5
  },
  "luminance": 0.47659
}

Semantic roles & 50–950 ramp

primary
#B2C04A
secondary
#9F99CD
accent
#50D860
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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