#BABC2F#BABC2F

#BABC2F is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.0% C 0.154 H 110.4°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BABC2F
RGBrgb(186, 188, 47)
HSLhsl(61, 60%, 46%)
HSVhsv(61, 75%, 74%)
CMYKcmyk(1.1%, 0%, 75%, 26.3%)
CIE-LABlab(73.94, -16.93, 65.92)
CIE-LCHlch(73.94, 68.06, 104.41°)
OKLaboklab(76.95% -0.0537 0.1446)
OKLCHoklch(76.95% 0.154 110.4)
XYZxyz(38.7474, 46.6119, 9.6447)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC2F #312FBC
analogous
#BC772F #BABC2F #73BC2F
triadic
#BABC2F #2FBABC #BC2FBA
tetradic
#BABC2F #2FBC77 #312FBC #BC2F73
square
#BABC2F #2FBC77 #312FBC #BC2F73
split-complementary
#BABC2F #2F73BC #772FBC
monochromatic
#595A17 #8A8B23 #BABC2F #D2D454 #DFE085

Accessibility & contrast

On white

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

On black

10.32
#BABC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC2F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC2F#FFFFFF#000000##000000
##BABC2F1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40C
Deuteranopia (green-blind)
#CCB83B
Tritanopia (blue-blind)
#C7B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc2f;
/* rgb */ color: rgb(186, 188, 47);
/* oklch */ color: oklch(77.0% 0.154 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf73',
    500: '#babc2f',
    950: '#000000',
  },
}
SCSS
$custom: #babc2f;
$custom-light: #d2cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#babc2f",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 60.851,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76954,
    "c": 0.1542,
    "h": 110.4
  },
  "luminance": 0.46611
}

Semantic roles & 50–950 ramp

primary
#BABC2F
secondary
#7E7DCA
accent
#45E347
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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