#B3C540#B3C540

#B3C540 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.5% C 0.155 H 116.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#B3C540
RGBrgb(179, 197, 64)
HSLhsl(68, 53%, 51%)
HSVhsv(68, 68%, 77%)
CMYKcmyk(9.1%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.00, -23.48, 61.68)
CIE-LCHlch(76.00, 66.00, 110.84°)
OKLaboklab(78.5% -0.0699 0.1387)
OKLCHoklch(78.5% 0.155 116.8)
XYZxyz(39.4830, 49.8869, 12.3987)
Luminance0.4989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C540 #5240C5
analogous
#C59440 #B3C540 #70C540
triadic
#B3C540 #40B3C5 #C540B3
tetradic
#B3C540 #40C594 #5240C5 #C54070
square
#B3C540 #40C594 #5240C5 #C54070
split-complementary
#B3C540 #4070C5 #9440C5
monochromatic
#606A20 #8B992F #B3C540 #C6D36F #D8E29E

Accessibility & contrast

On white

1.91
#B3C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#B3C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C540
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C540#FFFFFF#000000##000000
##B3C5401.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#D1BC4A
Tritanopia (blue-blind)
#BEBAAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b3c540;
/* rgb */ color: rgb(179, 197, 64);
/* oklch */ color: oklch(78.5% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#cdd67c',
    500: '#b3c540',
    950: '#000000',
  },
}
SCSS
$custom: #b3c540;
$custom-light: #cdd67c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c540",
  "rgb": {
    "r": 179,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 68.12,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78504,
    "c": 0.15534,
    "h": 116.8
  },
  "luminance": 0.49886
}

Semantic roles & 50–950 ramp

primary
#B3C540
secondary
#9B93CE
accent
#4BDD5F
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #B3C540

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

Preview Lab → · Contrast checker → · Palette generator →

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