#B3C242#B3C242

#B3C242 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.150 H 115.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#B3C242
RGBrgb(179, 194, 66)
HSLhsl(67, 51%, 51%)
HSVhsv(67, 66%, 76%)
CMYKcmyk(7.7%, 0%, 66%, 23.9%)
CIE-LABlab(75.18, -21.89, 60.05)
CIE-LCHlch(75.18, 63.92, 110.02°)
OKLaboklab(77.85% -0.0653 0.1356)
OKLCHoklch(77.85% 0.151 115.7)
XYZxyz(38.8665, 48.5612, 12.4790)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C242 #5142C2
analogous
#C29142 #B3C242 #73C242
triadic
#B3C242 #42B3C2 #C242B3
tetradic
#B3C242 #42C291 #5142C2 #C24273
square
#B3C242 #42C291 #5142C2 #C24273
split-complementary
#B3C242 #4273C2 #9142C2
monochromatic
#606822 #8A9631 #B3C242 #C6D170 #D8E09F

Accessibility & contrast

On white

1.96
#B3C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#B3C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C242
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C242#FFFFFF#000000##000000
##B3C2421.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#BEB7A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b3c242;
/* rgb */ color: rgb(179, 194, 66);
/* oklch */ color: oklch(77.8% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#cdd47d',
    500: '#b3c242',
    950: '#000000',
  },
}
SCSS
$custom: #b3c242;
$custom-light: #cdd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c242",
  "rgb": {
    "r": 179,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 67.031,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77849,
    "c": 0.1505,
    "h": 115.7
  },
  "luminance": 0.48561
}

Semantic roles & 50–950 ramp

primary
#B3C242
secondary
#9A94CC
accent
#4DDB5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B3C242

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

Preview Lab → · Contrast checker → · Palette generator →

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