#BABC3F#BABC3F

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

Color values

HEX#BABC3F
RGBrgb(186, 188, 63)
HSLhsl(61, 50%, 49%)
HSVhsv(61, 66%, 74%)
CMYKcmyk(1.1%, 0%, 66.5%, 26.3%)
CIE-LABlab(74.04, -16.14, 60.25)
CIE-LCHlch(74.04, 62.37, 105.00°)
OKLaboklab(77.07% -0.0499 0.1353)
OKLCHoklch(77.07% 0.144 110.2)
XYZxyz(39.1314, 46.7655, 11.6670)
Luminance0.4676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC3F #413FBC
analogous
#BC803F #BABC3F #7CBC3F
triadic
#BABC3F #3FBABC #BC3FBA
tetradic
#BABC3F #3FBC80 #413FBC #BC3F7C
square
#BABC3F #3FBC80 #413FBC #BC3F7C
split-complementary
#BABC3F #3F7CBC #803FBC
monochromatic
#5F6020 #8D8E30 #BABC3F #CCCD6B #DCDD99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC3F#FFFFFF#000000##000000
##BABC3F1.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)
#CBB42D
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#C7B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc3f;
/* rgb */ color: rgb(186, 188, 63);
/* oklch */ color: oklch(77.1% 0.144 110.2);
Tailwind
colors: {
  custom: {
    50: '#d2cf7b',
    500: '#babc3f',
    950: '#000000',
  },
}
SCSS
$custom: #babc3f;
$custom-light: #d2cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#babc3f",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 63
  },
  "hsl": {
    "h": 60.96,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77065,
    "c": 0.14425,
    "h": 110.2
  },
  "luminance": 0.46764
}

Semantic roles & 50–950 ramp

primary
#BABC3F
secondary
#8F8EC9
accent
#4ED951
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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