#BABC58#BABC58

#BABC58 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#BABC58
RGBrgb(186, 188, 88)
HSLhsl(61, 43%, 54%)
HSVhsv(61, 53%, 74%)
CMYKcmyk(1.1%, 0%, 53.2%, 26.3%)
CIE-LABlab(74.26, -14.38, 49.61)
CIE-LCHlch(74.26, 51.65, 106.16°)
OKLaboklab(77.31% -0.0423 0.1161)
OKLCHoklch(77.31% 0.124 110)
XYZxyz(39.9953, 47.1111, 16.2171)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC58 #5A58BC
analogous
#BC8C58 #BABC58 #88BC58
triadic
#BABC58 #58BABC #BC58BA
tetradic
#BABC58 #58BC8C #5A58BC #BC5888
square
#BABC58 #58BC8C #5A58BC #BC5888
split-complementary
#BABC58 #5888BC #8C58BC
monochromatic
#6C6E2C #97993E #BABC58 #CCCE84 #DEDFAF

Accessibility & contrast

On white

2.01
#BABC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC58#FFFFFF#000000##000000
##BABC581.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babc58;
/* rgb */ color: rgb(186, 188, 88);
/* oklch */ color: oklch(77.3% 0.124 110.0);
Tailwind
colors: {
  custom: {
    50: '#d1d08a',
    500: '#babc58',
    950: '#000000',
  },
}
SCSS
$custom: #babc58;
$custom-light: #d1d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#babc58",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 88
  },
  "hsl": {
    "h": 61.2,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77312,
    "c": 0.12352,
    "h": 110
  },
  "luminance": 0.4711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABC58

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

Preview Lab → · Contrast checker → · Palette generator →

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