#BABA3D#BABA3D

#BABA3D 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#BABA3D
RGBrgb(186, 186, 61)
HSLhsl(60, 51%, 48%)
HSVhsv(60, 67%, 73%)
CMYKcmyk(0%, 0%, 67.2%, 27.1%)
CIE-LABlab(73.48, -15.24, 60.46)
CIE-LCHlch(73.48, 62.35, 104.15°)
OKLaboklab(76.61% -0.0476 0.1355)
OKLCHoklch(76.61% 0.144 109.4)
XYZxyz(38.6522, 45.8950, 11.2365)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA3D #3D3DBA
analogous
#BA7B3D #BABA3D #7BBA3D
triadic
#BABA3D #3DBABA #BA3DBA
tetradic
#BABA3D #3DBA7B #3D3DBA #BA3D7B
square
#BABA3D #3DBA7B #3D3DBA #BA3D7B
split-complementary
#BABA3D #3D7BBA #7B3DBA
monochromatic
#5E5E1F #8C8C2E #BABA3D #CDCD67 #DCDC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA3D#FFFFFF#000000##000000
##BABA3D1.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)
#C9B22A
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#C7AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba3d;
/* rgb */ color: rgb(186, 186, 61);
/* oklch */ color: oklch(76.6% 0.144 109.4);
Tailwind
colors: {
  custom: {
    50: '#d2ce7a',
    500: '#baba3d',
    950: '#000000',
  },
}
SCSS
$custom: #baba3d;
$custom-light: #d2ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#baba3d",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76611,
    "c": 0.14359,
    "h": 109.4
  },
  "luminance": 0.45894
}

Semantic roles & 50–950 ramp

primary
#BABA3D
secondary
#8B8BC8
accent
#4EDA4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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