#B3C728#B3C728

#B3C728 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.8% C 0.171 H 117.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#B3C728
RGBrgb(179, 199, 40)
HSLhsl(68, 67%, 47%)
HSVhsv(68, 80%, 78%)
CMYKcmyk(10.1%, 0%, 79.9%, 22%)
CIE-LABlab(76.43, -25.59, 70.05)
CIE-LCHlch(76.43, 74.57, 110.07°)
OKLaboklab(78.81% -0.0778 0.1524)
OKLCHoklch(78.81% 0.171 117)
XYZxyz(39.3979, 50.5843, 9.6953)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C728 #3C28C7
analogous
#C78C28 #B3C728 #64C728
triadic
#B3C728 #28B3C7 #C728B3
tetradic
#B3C728 #28C78C #3C28C7 #C72864
square
#B3C728 #28C78C #3C28C7 #C72864
split-complementary
#B3C728 #2864C7 #8C28C7
monochromatic
#576114 #85941E #B3C728 #CADC50 #DAE683

Accessibility & contrast

On white

1.89
#B3C728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#B3C728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C728
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C728#FFFFFF#000000##000000
##B3C7281.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D3BD38
Tritanopia (blue-blind)
#BFBBAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b3c728;
/* rgb */ color: rgb(179, 199, 40);
/* oklch */ color: oklch(78.8% 0.171 117.0);
Tailwind
colors: {
  custom: {
    50: '#ced771',
    500: '#b3c728',
    950: '#000000',
  },
}
SCSS
$custom: #b3c728;
$custom-light: #ced771;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c728",
  "rgb": {
    "r": 179,
    "g": 199,
    "b": 40
  },
  "hsl": {
    "h": 67.547,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78805,
    "c": 0.17109,
    "h": 117
  },
  "luminance": 0.50584
}

Semantic roles & 50–950 ramp

primary
#B3C728
secondary
#30276C
accent
#3EE954
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B3C728

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

Preview Lab → · Contrast checker → · Palette generator →

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