#BABC2E#BABC2E

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

Color values

HEX#BABC2E
RGBrgb(186, 188, 46)
HSLhsl(61, 61%, 46%)
HSVhsv(61, 76%, 74%)
CMYKcmyk(1.1%, 0%, 75.5%, 26.3%)
CIE-LABlab(73.94, -16.98, 66.23)
CIE-LCHlch(73.94, 68.37, 104.38°)
OKLaboklab(76.95% -0.0539 0.1451)
OKLCHoklch(76.95% 0.155 110.4)
XYZxyz(38.7275, 46.6039, 9.5397)
Luminance0.4660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC2E #302EBC
analogous
#BC772E #BABC2E #73BC2E
triadic
#BABC2E #2EBABC #BC2EBA
tetradic
#BABC2E #2EBC77 #302EBC #BC2E73
square
#BABC2E #2EBC77 #302EBC #BC2E73
split-complementary
#BABC2E #2E73BC #772EBC
monochromatic
#595A16 #898B22 #BABC2E #D3D552 #DFE184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC2E#FFFFFF#000000##000000
##BABC2E1.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)
#CBB409
Deuteranopia (green-blind)
#CCB83A
Tritanopia (blue-blind)
#C7B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc2e;
/* rgb */ color: rgb(186, 188, 46);
/* oklch */ color: oklch(76.9% 0.155 110.4);
Tailwind
colors: {
  custom: {
    50: '#d3cf72',
    500: '#babc2e',
    950: '#000000',
  },
}
SCSS
$custom: #babc2e;
$custom-light: #d3cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#babc2e",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 60.845,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76949,
    "c": 0.15473,
    "h": 110.4
  },
  "luminance": 0.46603
}

Semantic roles & 50–950 ramp

primary
#BABC2E
secondary
#7D7CCA
accent
#44E446
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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