#BABB3F#BABB3F

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

Color values

HEX#BABB3F
RGBrgb(186, 187, 63)
HSLhsl(60, 50%, 49%)
HSVhsv(60, 66%, 73%)
CMYKcmyk(0.5%, 0%, 66.3%, 26.7%)
CIE-LABlab(73.77, -15.63, 59.97)
CIE-LCHlch(73.77, 61.97, 104.61°)
OKLaboklab(76.85% -0.0485 0.1348)
OKLCHoklch(76.85% 0.143 109.8)
XYZxyz(38.9185, 46.3397, 11.5960)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB3F #403FBB
analogous
#BB7E3F #BABB3F #7CBB3F
triadic
#BABB3F #3FBABB #BB3FBA
tetradic
#BABB3F #3FBB7E #403FBB #BB3F7C
square
#BABB3F #3FBB7E #403FBB #BB3F7C
split-complementary
#BABB3F #3F7CBB #7E3FBB
monochromatic
#5F5F20 #8C8D30 #BABB3F #CCCD6A #DCDC98

Accessibility & contrast

On white

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

On black

10.27
#BABB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB3F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB3F#FFFFFF#000000##000000
##BABB3F1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babb3f;
/* rgb */ color: rgb(186, 187, 63);
/* oklch */ color: oklch(76.8% 0.143 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf7b',
    500: '#babb3f',
    950: '#000000',
  },
}
SCSS
$custom: #babb3f;
$custom-light: #d2cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#babb3f",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 63
  },
  "hsl": {
    "h": 60.484,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76846,
    "c": 0.14321,
    "h": 109.8
  },
  "luminance": 0.46339
}

Semantic roles & 50–950 ramp

primary
#BABB3F
secondary
#8E8EC8
accent
#4FD950
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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