#BABB3D#BABB3D

#BABB3D is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.145 H 109.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BABB3D
RGBrgb(186, 187, 61)
HSLhsl(60, 51%, 49%)
HSVhsv(60, 67%, 73%)
CMYKcmyk(0.5%, 0%, 67.4%, 26.7%)
CIE-LABlab(73.75, -15.75, 60.74)
CIE-LCHlch(73.75, 62.74, 104.53°)
OKLaboklab(76.83% -0.049 0.1361)
OKLCHoklch(76.83% 0.145 109.8)
XYZxyz(38.8636, 46.3178, 11.3070)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB3D #3E3DBB
analogous
#BB7D3D #BABB3D #7BBB3D
triadic
#BABB3D #3DBABB #BB3DBA
tetradic
#BABB3D #3DBB7D #3E3DBB #BB3D7B
square
#BABB3D #3DBB7D #3E3DBB #BB3D7B
split-complementary
#BABB3D #3D7BBB #7D3DBB
monochromatic
#5E5F1F #8C8D2E #BABB3D #CDCE68 #DCDD96

Accessibility & contrast

On white

2.05
#BABB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#BABB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB3D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB3D#FFFFFF#000000##000000
##BABB3D1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32A
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#C7AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb3d;
/* rgb */ color: rgb(186, 187, 61);
/* oklch */ color: oklch(76.8% 0.145 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf7a',
    500: '#babb3d',
    950: '#000000',
  },
}
SCSS
$custom: #babb3d;
$custom-light: #d2cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#babb3d",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 61
  },
  "hsl": {
    "h": 60.476,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7683,
    "c": 0.14461,
    "h": 109.8
  },
  "luminance": 0.46317
}

Semantic roles & 50–950 ramp

primary
#BABB3D
secondary
#8C8CC8
accent
#4EDA4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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