#B2C04B#B2C04B

#B2C04B 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#B2C04B
RGBrgb(178, 192, 75)
HSLhsl(67, 48%, 52%)
HSVhsv(67, 61%, 75%)
CMYKcmyk(7.3%, 0%, 60.9%, 24.7%)
CIE-LABlab(74.62, -20.71, 55.70)
CIE-LCHlch(74.62, 59.43, 110.39°)
OKLaboklab(77.41% -0.061 0.1277)
OKLCHoklch(77.41% 0.142 115.5)
XYZxyz(38.4805, 47.6728, 13.8299)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C04B #594BC0
analogous
#C0934B #B2C04B #78C04B
triadic
#B2C04B #4BB2C0 #C04BB2
tetradic
#B2C04B #4BC093 #594BC0 #C04B78
square
#B2C04B #4BC093 #594BC0 #C04B78
split-complementary
#B2C04B #4B78C0 #934BC0
monochromatic
#636B25 #8D9835 #B2C04B #C5D078 #D9E0A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C04B#FFFFFF#000000##000000
##B2C04B1.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)
#CDB73D
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#BDB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c04b;
/* rgb */ color: rgb(178, 192, 75);
/* oklch */ color: oklch(77.4% 0.142 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd282',
    500: '#b2c04b',
    950: '#000000',
  },
}
SCSS
$custom: #b2c04b;
$custom-light: #ccd282;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c04b",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 67.179,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77405,
    "c": 0.14154,
    "h": 115.5
  },
  "luminance": 0.47672
}

Semantic roles & 50–950 ramp

primary
#B2C04B
secondary
#A09ACD
accent
#50D860
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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