#B3CA38#B3CA38

#B3CA38 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.166 H 118.2°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B3CA38
RGBrgb(179, 202, 56)
HSLhsl(69, 58%, 51%)
HSVhsv(69, 72%, 79%)
CMYKcmyk(11.4%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.35, -26.34, 65.94)
CIE-LCHlch(77.35, 71.01, 111.77°)
OKLaboklab(79.57% -0.0786 0.1464)
OKLCHoklch(79.57% 0.166 118.2)
XYZxyz(40.4256, 52.1107, 11.6693)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3CA38 #4F38CA
analogous
#CA9838 #B3CA38 #6ACA38
triadic
#B3CA38 #38B3CA #CA38B3
tetradic
#B3CA38 #38CA98 #4F38CA #CA386A
square
#B3CA38 #38CA98 #4F38CA #CA386A
split-complementary
#B3CA38 #386ACA #9838CA
monochromatic
#5F6B1D #899B29 #B3CA38 #C5D768 #D8E499

Accessibility & contrast

On white

1.84
#B3CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B3CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3CA38
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3CA38#FFFFFF#000000##000000
##B3CA381.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1C
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#BEBFAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b3ca38;
/* rgb */ color: rgb(179, 202, 56);
/* oklch */ color: oklch(79.6% 0.166 118.2);
Tailwind
colors: {
  custom: {
    50: '#cdda79',
    500: '#b3ca38',
    950: '#000000',
  },
}
SCSS
$custom: #b3ca38;
$custom-light: #cdda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ca38",
  "rgb": {
    "r": 179,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 69.452,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7957,
    "c": 0.16616,
    "h": 118.2
  },
  "luminance": 0.5211
}

Semantic roles & 50–950 ramp

primary
#B3CA38
secondary
#3C3175
accent
#47E15F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B3CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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