#BABA3C#BABA3C

#BABA3C is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.144 H 109.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#BABA3C
RGBrgb(186, 186, 60)
HSLhsl(60, 51%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0%, 0%, 67.7%, 27.1%)
CIE-LABlab(73.47, -15.30, 60.84)
CIE-LCHlch(73.47, 62.73, 104.11°)
OKLaboklab(76.6% -0.0478 0.1361)
OKLCHoklch(76.6% 0.144 109.4)
XYZxyz(38.6255, 45.8843, 11.0960)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA3C #3C3CBA
analogous
#BA7B3C #BABA3C #7BBA3C
triadic
#BABA3C #3CBABA #BA3CBA
tetradic
#BABA3C #3CBA7B #3C3CBA #BA3C7B
square
#BABA3C #3CBA7B #3C3CBA #BA3C7B
split-complementary
#BABA3C #3C7BBA #7B3CBA
monochromatic
#5D5D1E #8C8C2D #BABA3C #CECE66 #DCDC94

Accessibility & contrast

On white

2.06
#BABA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#BABA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA3C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA3C#FFFFFF#000000##000000
##BABA3C1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B229
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#C7AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba3c;
/* rgb */ color: rgb(186, 186, 60);
/* oklch */ color: oklch(76.6% 0.144 109.4);
Tailwind
colors: {
  custom: {
    50: '#d2ce79',
    500: '#baba3c',
    950: '#000000',
  },
}
SCSS
$custom: #baba3c;
$custom-light: #d2ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#baba3c",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76603,
    "c": 0.14428,
    "h": 109.4
  },
  "luminance": 0.45883
}

Semantic roles & 50–950 ramp

primary
#BABA3C
secondary
#8A8AC8
accent
#4DDB4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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