#B3C538#B3C538

#B3C538 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.4% C 0.161 H 116.6°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#B3C538
RGBrgb(179, 197, 56)
HSLhsl(68, 56%, 50%)
HSVhsv(68, 72%, 77%)
CMYKcmyk(9.1%, 0%, 71.6%, 22.7%)
CIE-LABlab(75.95, -23.92, 64.59)
CIE-LCHlch(75.95, 68.87, 110.32°)
OKLaboklab(78.45% -0.0719 0.1435)
OKLCHoklch(78.45% 0.161 116.6)
XYZxyz(39.2714, 49.8023, 11.2846)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C538 #4A38C5
analogous
#C59138 #B3C538 #6CC538
triadic
#B3C538 #38B3C5 #C538B3
tetradic
#B3C538 #38C591 #4A38C5 #C5386C
square
#B3C538 #38C591 #4A38C5 #C5386C
split-complementary
#B3C538 #386CC5 #9138C5
monochromatic
#5C661D #88952A #B3C538 #C6D467 #D8E196

Accessibility & contrast

On white

1.92
#B3C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#B3C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C538
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C538#FFFFFF#000000##000000
##B3C5381.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3c538;
/* rgb */ color: rgb(179, 197, 56);
/* oklch */ color: oklch(78.4% 0.161 116.6);
Tailwind
colors: {
  custom: {
    50: '#cdd678',
    500: '#b3c538',
    950: '#000000',
  },
}
SCSS
$custom: #b3c538;
$custom-light: #cdd678;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c538",
  "rgb": {
    "r": 179,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 67.66,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78446,
    "c": 0.16055,
    "h": 116.6
  },
  "luminance": 0.49802
}

Semantic roles & 50–950 ramp

primary
#B3C538
secondary
#948CCD
accent
#49DF5C
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B3C538

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

Preview Lab → · Contrast checker → · Palette generator →

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