#BABC47#BABC47

#BABC47 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.1% C 0.138 H 110.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#BABC47
RGBrgb(186, 188, 71)
HSLhsl(61, 47%, 51%)
HSVhsv(61, 62%, 74%)
CMYKcmyk(1.1%, 0%, 62.2%, 26.3%)
CIE-LABlab(74.10, -15.65, 57.04)
CIE-LCHlch(74.10, 59.15, 105.34°)
OKLaboklab(77.13% -0.0477 0.1298)
OKLCHoklch(77.13% 0.138 110.2)
XYZxyz(39.3714, 46.8615, 12.9312)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC47 #4947BC
analogous
#BC8347 #BABC47 #7FBC47
triadic
#BABC47 #47BABC #BC47BA
tetradic
#BABC47 #47BC83 #4947BC #BC477F
square
#BABC47 #47BC83 #4947BC #BC477F
split-complementary
#BABC47 #477FBC #8347BC
monochromatic
#636424 #8F9135 #BABC47 #CBCC74 #DCDDA1

Accessibility & contrast

On white

2.02
#BABC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#BABC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC47
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC47#FFFFFF#000000##000000
##BABC471.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB438
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#C6B1A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc47;
/* rgb */ color: rgb(186, 188, 71);
/* oklch */ color: oklch(77.1% 0.138 110.2);
Tailwind
colors: {
  custom: {
    50: '#d2d080',
    500: '#babc47',
    950: '#000000',
  },
}
SCSS
$custom: #babc47;
$custom-light: #d2d080;
$custom-dark: #000000;
JSON
{
  "hex": "#babc47",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 71
  },
  "hsl": {
    "h": 61.026,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77134,
    "c": 0.13828,
    "h": 110.2
  },
  "luminance": 0.4686
}

Semantic roles & 50–950 ramp

primary
#BABC47
secondary
#9695C9
accent
#52D654
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABC47

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

Preview Lab → · Contrast checker → · Palette generator →

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