#BACA38#BACA38

#BACA38 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.1% C 0.164 H 115.7°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#BACA38
RGBrgb(186, 202, 56)
HSLhsl(67, 58%, 51%)
HSVhsv(67, 72%, 79%)
CMYKcmyk(7.9%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.86, -23.45, 66.61)
CIE-LCHlch(77.86, 70.62, 109.40°)
OKLaboklab(80.11% -0.071 0.1476)
OKLCHoklch(80.11% 0.164 115.7)
XYZxyz(42.0851, 52.9663, 11.7471)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACA38 #4838CA
analogous
#CA9138 #BACA38 #71CA38
triadic
#BACA38 #38BACA #CA38BA
tetradic
#BACA38 #38CA91 #4838CA #CA3871
square
#BACA38 #38CA91 #4838CA #CA3871
split-complementary
#BACA38 #3871CA #9138CA
monochromatic
#626B1D #8F9B29 #BACA38 #CBD768 #DCE499

Accessibility & contrast

On white

1.81
#BACA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#BACA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACA38
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACA38#FFFFFF#000000##000000
##BACA381.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C01B
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#C6BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #baca38;
/* rgb */ color: rgb(186, 202, 56);
/* oklch */ color: oklch(80.1% 0.164 115.7);
Tailwind
colors: {
  custom: {
    50: '#d2da79',
    500: '#baca38',
    950: '#000000',
  },
}
SCSS
$custom: #baca38;
$custom-light: #d2da79;
$custom-dark: #000000;
JSON
{
  "hex": "#baca38",
  "rgb": {
    "r": 186,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 66.575,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80106,
    "c": 0.16378,
    "h": 115.7
  },
  "luminance": 0.52966
}

Semantic roles & 50–950 ramp

primary
#BACA38
secondary
#393175
accent
#47E158
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BACA38

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

Preview Lab → · Contrast checker → · Palette generator →

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