#B3C042#B3C042

#B3C042 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.148 H 115.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B3C042
RGBrgb(179, 192, 66)
HSLhsl(66, 50%, 51%)
HSVhsv(66, 66%, 75%)
CMYKcmyk(6.8%, 0%, 65.6%, 24.7%)
CIE-LABlab(74.62, -20.90, 59.48)
CIE-LCHlch(74.62, 63.04, 109.36°)
OKLaboklab(77.4% -0.0625 0.1344)
OKLCHoklch(77.4% 0.148 115)
XYZxyz(38.4244, 47.6770, 12.3316)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C042 #4F42C0
analogous
#C08E42 #B3C042 #74C042
triadic
#B3C042 #42B3C0 #C042B3
tetradic
#B3C042 #42C08E #4F42C0 #C04274
square
#B3C042 #42C08E #4F42C0 #C04274
split-complementary
#B3C042 #4274C0 #8E42C0
monochromatic
#5F6622 #899431 #B3C042 #C5CF70 #D8DF9E

Accessibility & contrast

On white

1.99
#B3C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#B3C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C042
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C042#FFFFFF#000000##000000
##B3C0421.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#BEB5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b3c042;
/* rgb */ color: rgb(179, 192, 66);
/* oklch */ color: oklch(77.4% 0.148 115.0);
Tailwind
colors: {
  custom: {
    50: '#cdd27d',
    500: '#b3c042',
    950: '#000000',
  },
}
SCSS
$custom: #b3c042;
$custom-light: #cdd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c042",
  "rgb": {
    "r": 179,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 66.19,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77402,
    "c": 0.14822,
    "h": 115
  },
  "luminance": 0.47676
}

Semantic roles & 50–950 ramp

primary
#B3C042
secondary
#9993CB
accent
#4EDA5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B3C042

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

Preview Lab → · Contrast checker → · Palette generator →

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