#B3C340#B3C340

#B3C340 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.1% C 0.153 H 116.0°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#B3C340
RGBrgb(179, 195, 64)
HSLhsl(67, 52%, 51%)
HSVhsv(67, 67%, 76%)
CMYKcmyk(8.2%, 0%, 67.2%, 23.5%)
CIE-LABlab(75.44, -22.50, 61.11)
CIE-LCHlch(75.44, 65.12, 110.21°)
OKLaboklab(78.06% -0.0672 0.1375)
OKLCHoklch(78.06% 0.153 116)
XYZxyz(39.0318, 48.9846, 12.2483)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C340 #5040C3
analogous
#C39140 #B3C340 #71C340
triadic
#B3C340 #40B3C3 #C340B3
tetradic
#B3C340 #40C391 #5040C3 #C34071
square
#B3C340 #40C391 #5040C3 #C34071
split-complementary
#B3C340 #4071C3 #9140C3
monochromatic
#5F6821 #8A972F #B3C340 #C6D26F #D8E09D

Accessibility & contrast

On white

1.95
#B3C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#B3C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C340
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C340#FFFFFF#000000##000000
##B3C3401.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#BEB8A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b3c340;
/* rgb */ color: rgb(179, 195, 64);
/* oklch */ color: oklch(78.1% 0.153 116.0);
Tailwind
colors: {
  custom: {
    50: '#cdd57c',
    500: '#b3c340',
    950: '#000000',
  },
}
SCSS
$custom: #b3c340;
$custom-light: #cdd57c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c340",
  "rgb": {
    "r": 179,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 67.328,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78056,
    "c": 0.15306,
    "h": 116
  },
  "luminance": 0.48984
}

Semantic roles & 50–950 ramp

primary
#B3C340
secondary
#9992CC
accent
#4CDC5E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #B3C340

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

Preview Lab → · Contrast checker → · Palette generator →

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