#BABA3F#BABA3F

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

Color values

HEX#BABA3F
RGBrgb(186, 186, 63)
HSLhsl(60, 49%, 49%)
HSVhsv(60, 66%, 73%)
CMYKcmyk(0%, 0%, 66.1%, 27.1%)
CIE-LABlab(73.49, -15.13, 59.69)
CIE-LCHlch(73.49, 61.57, 104.22°)
OKLaboklab(76.63% -0.0471 0.1342)
OKLCHoklch(76.63% 0.142 109.3)
XYZxyz(38.7071, 45.9169, 11.5255)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA3F #3F3FBA
analogous
#BA7D3F #BABA3F #7DBA3F
triadic
#BABA3F #3FBABA #BA3FBA
tetradic
#BABA3F #3FBA7D #3F3FBA #BA3F7D
square
#BABA3F #3FBA7D #3F3FBA #BA3F7D
split-complementary
#BABA3F #3F7DBA #7D3FBA
monochromatic
#5F5F20 #8C8C30 #BABA3F #CCCC6A #DCDC97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA3F#FFFFFF#000000##000000
##BABA3F1.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)
#C9B22D
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#C7AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba3f;
/* rgb */ color: rgb(186, 186, 63);
/* oklch */ color: oklch(76.6% 0.142 109.3);
Tailwind
colors: {
  custom: {
    50: '#d2ce7b',
    500: '#baba3f',
    950: '#000000',
  },
}
SCSS
$custom: #baba3f;
$custom-light: #d2ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#baba3f",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76627,
    "c": 0.14219,
    "h": 109.3
  },
  "luminance": 0.45916
}

Semantic roles & 50–950 ramp

primary
#BABA3F
secondary
#8D8DC8
accent
#4FD94F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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