#BABB3E#BABB3E

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

Color values

HEX#BABB3E
RGBrgb(186, 187, 62)
HSLhsl(60, 50%, 49%)
HSVhsv(60, 67%, 73%)
CMYKcmyk(0.5%, 0%, 66.8%, 26.7%)
CIE-LABlab(73.76, -15.69, 60.35)
CIE-LCHlch(73.76, 62.36, 104.57°)
OKLaboklab(76.84% -0.0488 0.1354)
OKLCHoklch(76.84% 0.144 109.8)
XYZxyz(38.8908, 46.3286, 11.4502)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB3E #3F3EBB
analogous
#BB7E3E #BABB3E #7CBB3E
triadic
#BABB3E #3EBABB #BB3EBA
tetradic
#BABB3E #3EBB7E #3F3EBB #BB3E7C
square
#BABB3E #3EBB7E #3F3EBB #BB3E7C
split-complementary
#BABB3E #3E7CBB #7E3EBB
monochromatic
#5F5F20 #8C8D2F #BABB3E #CCCD69 #DCDC97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB3E#FFFFFF#000000##000000
##BABB3E1.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)
#CAB32C
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#C7AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb3e;
/* rgb */ color: rgb(186, 187, 62);
/* oklch */ color: oklch(76.8% 0.144 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf7a',
    500: '#babb3e',
    950: '#000000',
  },
}
SCSS
$custom: #babb3e;
$custom-light: #d2cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#babb3e",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 62
  },
  "hsl": {
    "h": 60.48,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76838,
    "c": 0.14392,
    "h": 109.8
  },
  "luminance": 0.46328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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