#BABC57#BABC57

#BABC57 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.3% C 0.124 H 110.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#BABC57
RGBrgb(186, 188, 87)
HSLhsl(61, 43%, 54%)
HSVhsv(61, 54%, 74%)
CMYKcmyk(1.1%, 0%, 53.7%, 26.3%)
CIE-LABlab(74.25, -14.46, 50.06)
CIE-LCHlch(74.25, 52.11, 106.11°)
OKLaboklab(77.3% -0.0426 0.1169)
OKLCHoklch(77.3% 0.124 110)
XYZxyz(39.9542, 47.0946, 16.0004)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC57 #5957BC
analogous
#BC8C57 #BABC57 #88BC57
triadic
#BABC57 #57BABC #BC57BA
tetradic
#BABC57 #57BC8C #5957BC #BC5788
square
#BABC57 #57BC8C #5957BC #BC5788
split-complementary
#BABC57 #5788BC #8C57BC
monochromatic
#6C6D2C #97993D #BABC57 #CCCD83 #DEDFAF

Accessibility & contrast

On white

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

On black

10.42
#BABC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC57
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC57#FFFFFF#000000##000000
##BABC571.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54D
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#C5B2A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babc57;
/* rgb */ color: rgb(186, 188, 87);
/* oklch */ color: oklch(77.3% 0.124 110.0);
Tailwind
colors: {
  custom: {
    50: '#d1d089',
    500: '#babc57',
    950: '#000000',
  },
}
SCSS
$custom: #babc57;
$custom-light: #d1d089;
$custom-dark: #000000;
JSON
{
  "hex": "#babc57",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 61.188,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77301,
    "c": 0.12446,
    "h": 110
  },
  "luminance": 0.47094
}

Semantic roles & 50–950 ramp

primary
#BABC57
secondary
#A3A2CD
accent
#55D358
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABC57

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

Preview Lab → · Contrast checker → · Palette generator →

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