#BABC38#BABC38

#BABC38 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.149 H 110.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BABC38
RGBrgb(186, 188, 56)
HSLhsl(61, 54%, 48%)
HSVhsv(61, 70%, 74%)
CMYKcmyk(1.1%, 0%, 70.2%, 26.3%)
CIE-LABlab(73.99, -16.52, 62.86)
CIE-LCHlch(73.99, 65.00, 104.72°)
OKLaboklab(77.01% -0.0517 0.1397)
OKLCHoklch(77.01% 0.149 110.3)
XYZxyz(38.9480, 46.6921, 10.7014)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC38 #3A38BC
analogous
#BC7C38 #BABC38 #78BC38
triadic
#BABC38 #38BABC #BC38BA
tetradic
#BABC38 #38BC7C #3A38BC #BC3878
square
#BABC38 #38BC7C #3A38BC #BC3878
split-complementary
#BABC38 #3878BC #7C38BC
monochromatic
#5D5E1C #8B8D2A #BABC38 #CED061 #DDDE90

Accessibility & contrast

On white

2.03
#BABC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BABC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC38
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC38#FFFFFF#000000##000000
##BABC381.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#C7B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc38;
/* rgb */ color: rgb(186, 188, 56);
/* oklch */ color: oklch(77.0% 0.149 110.3);
Tailwind
colors: {
  custom: {
    50: '#d2cf77',
    500: '#babc38',
    950: '#000000',
  },
}
SCSS
$custom: #babc38;
$custom-light: #d2cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#babc38",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 60.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77012,
    "c": 0.14894,
    "h": 110.3
  },
  "luminance": 0.46691
}

Semantic roles & 50–950 ramp

primary
#BABC38
secondary
#8887C9
accent
#4ADD4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABC38

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

Preview Lab → · Contrast checker → · Palette generator →

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