#B4CA38#B4CA38

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

Color values

HEX#B4CA38
RGBrgb(180, 202, 56)
HSLhsl(69, 58%, 51%)
HSVhsv(69, 72%, 79%)
CMYKcmyk(10.9%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.42, -25.93, 66.04)
CIE-LCHlch(77.42, 70.94, 111.44°)
OKLaboklab(79.65% -0.0775 0.1466)
OKLCHoklch(79.65% 0.166 117.9)
XYZxyz(40.6576, 52.2303, 11.6802)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CA38 #4E38CA
analogous
#CA9738 #B4CA38 #6BCA38
triadic
#B4CA38 #38B4CA #CA38B4
tetradic
#B4CA38 #38CA97 #4E38CA #CA386B
square
#B4CA38 #38CA97 #4E38CA #CA386B
split-complementary
#B4CA38 #386BCA #9738CA
monochromatic
#5F6B1D #8A9B29 #B4CA38 #C6D768 #D8E499

Accessibility & contrast

On white

1.83
#B4CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#B4CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CA38
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CA38#FFFFFF#000000##000000
##B4CA381.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ca38;
/* rgb */ color: rgb(180, 202, 56);
/* oklch */ color: oklch(79.6% 0.166 117.9);
Tailwind
colors: {
  custom: {
    50: '#ceda79',
    500: '#b4ca38',
    950: '#000000',
  },
}
SCSS
$custom: #b4ca38;
$custom-light: #ceda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ca38",
  "rgb": {
    "r": 180,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 69.041,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79646,
    "c": 0.1658,
    "h": 117.9
  },
  "luminance": 0.5223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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