#B3CC38#B3CC38

#B3CC38 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.0% C 0.168 H 118.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#B3CC38
RGBrgb(179, 204, 56)
HSLhsl(70, 59%, 51%)
HSVhsv(70, 73%, 80%)
CMYKcmyk(12.3%, 0%, 72.5%, 20%)
CIE-LABlab(77.91, -27.30, 66.48)
CIE-LCHlch(77.91, 71.87, 112.32°)
OKLaboklab(80.02% -0.0812 0.1475)
OKLCHoklch(80.02% 0.168 118.8)
XYZxyz(40.8979, 53.0553, 11.8268)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3CC38 #5138CC
analogous
#CC9B38 #B3CC38 #69CC38
triadic
#B3CC38 #38B3CC #CC38B3
tetradic
#B3CC38 #38CC9B #5138CC #CC3869
square
#B3CC38 #38CC9B #5138CC #CC3869
split-complementary
#B3CC38 #3869CC #9B38CC
monochromatic
#606E1C #8A9E29 #B3CC38 #C6D869 #D8E599

Accessibility & contrast

On white

1.81
#B3CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#B3CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3CC38
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3CC38#FFFFFF#000000##000000
##B3CC381.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C11B
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#BEC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b3cc38;
/* rgb */ color: rgb(179, 204, 56);
/* oklch */ color: oklch(80.0% 0.168 118.8);
Tailwind
colors: {
  custom: {
    50: '#cddb79',
    500: '#b3cc38',
    950: '#000000',
  },
}
SCSS
$custom: #b3cc38;
$custom-light: #cddb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b3cc38",
  "rgb": {
    "r": 179,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 70.135,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80022,
    "c": 0.16842,
    "h": 118.8
  },
  "luminance": 0.53055
}

Semantic roles & 50–950 ramp

primary
#B3CC38
secondary
#3D3177
accent
#45E260
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B3CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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