#BABC3C#BABC3C

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

Color values

HEX#BABC3C
RGBrgb(186, 188, 60)
HSLhsl(61, 52%, 49%)
HSVhsv(61, 68%, 74%)
CMYKcmyk(1.1%, 0%, 68.1%, 26.3%)
CIE-LABlab(74.02, -16.31, 61.39)
CIE-LCHlch(74.02, 63.52, 104.88°)
OKLaboklab(77.04% -0.0507 0.1373)
OKLCHoklch(77.04% 0.146 110.3)
XYZxyz(39.0498, 46.7328, 11.2374)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC3C #3E3CBC
analogous
#BC7E3C #BABC3C #7ABC3C
triadic
#BABC3C #3CBABC #BC3CBA
tetradic
#BABC3C #3CBC7E #3E3CBC #BC3C7A
square
#BABC3C #3CBC7E #3E3CBC #BC3C7A
split-complementary
#BABC3C #3C7ABC #7E3CBC
monochromatic
#5E5F1E #8C8E2D #BABC3C #CDCE67 #DCDD95

Accessibility & contrast

On white

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

On black

10.35
#BABC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC3C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC3C#FFFFFF#000000##000000
##BABC3C1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babc3c;
/* rgb */ color: rgb(186, 188, 60);
/* oklch */ color: oklch(77.0% 0.146 110.3);
Tailwind
colors: {
  custom: {
    50: '#d2cf79',
    500: '#babc3c',
    950: '#000000',
  },
}
SCSS
$custom: #babc3c;
$custom-light: #d2cf79;
$custom-dark: #000000;
JSON
{
  "hex": "#babc3c",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 60
  },
  "hsl": {
    "h": 60.938,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77041,
    "c": 0.14632,
    "h": 110.3
  },
  "luminance": 0.46732
}

Semantic roles & 50–950 ramp

primary
#BABC3C
secondary
#8C8BC9
accent
#4DDB4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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