#B2C04E#B2C04E

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

Color values

HEX#B2C04E
RGBrgb(178, 192, 78)
HSLhsl(67, 48%, 53%)
HSVhsv(67, 59%, 75%)
CMYKcmyk(7.3%, 0%, 59.4%, 24.7%)
CIE-LABlab(74.64, -20.48, 54.43)
CIE-LCHlch(74.64, 58.15, 110.63°)
OKLaboklab(77.44% -0.0601 0.1254)
OKLCHoklch(77.44% 0.139 115.6)
XYZxyz(38.5857, 47.7148, 14.3835)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C04E #5C4EC0
analogous
#C0954E #B2C04E #79C04E
triadic
#B2C04E #4EB2C0 #C04EB2
tetradic
#B2C04E #4EC095 #5C4EC0 #C04E79
square
#B2C04E #4EC095 #5C4EC0 #C04E79
split-complementary
#B2C04E #4E79C0 #954EC0
monochromatic
#646D27 #8E9A37 #B2C04E #C6D07B #D9E0A8

Accessibility & contrast

On white

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

On black

10.54
#B2C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C04E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C04E#FFFFFF#000000##000000
##B2C04E1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB741
Deuteranopia (green-blind)
#CBB955
Tritanopia (blue-blind)
#BCB6A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c04e;
/* rgb */ color: rgb(178, 192, 78);
/* oklch */ color: oklch(77.4% 0.139 115.6);
Tailwind
colors: {
  custom: {
    50: '#cbd284',
    500: '#b2c04e',
    950: '#000000',
  },
}
SCSS
$custom: #b2c04e;
$custom-light: #cbd284;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c04e",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 67.368,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77435,
    "c": 0.13904,
    "h": 115.6
  },
  "luminance": 0.47714
}

Semantic roles & 50–950 ramp

primary
#B2C04E
secondary
#A29CCE
accent
#51D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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