#BABB2E#BABB2E

#BABB2E is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.154 H 110.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#BABB2E
RGBrgb(186, 187, 46)
HSLhsl(60, 61%, 46%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0.5%, 0%, 75.4%, 26.7%)
CIE-LABlab(73.66, -16.47, 65.98)
CIE-LCHlch(73.66, 68.00, 104.02°)
OKLaboklab(76.73% -0.0525 0.1445)
OKLCHoklch(76.73% 0.154 110)
XYZxyz(38.5146, 46.1781, 9.4687)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB2E #2F2EBB
analogous
#BB762E #BABB2E #73BB2E
triadic
#BABB2E #2EBABB #BB2EBA
tetradic
#BABB2E #2EBB76 #2F2EBB #BB2E73
square
#BABB2E #2EBB76 #2F2EBB #BB2E73
split-complementary
#BABB2E #2E73BB #762EBB
monochromatic
#585916 #898A22 #BABB2E #D3D452 #E0E083

Accessibility & contrast

On white

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

On black

10.24
#BABB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB2E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB2E#FFFFFF#000000##000000
##BABB2E1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB30A
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb2e;
/* rgb */ color: rgb(186, 187, 46);
/* oklch */ color: oklch(76.7% 0.154 110.0);
Tailwind
colors: {
  custom: {
    50: '#d3cf72',
    500: '#babb2e',
    950: '#000000',
  },
}
SCSS
$custom: #babb2e;
$custom-light: #d3cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#babb2e",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 60.426,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76729,
    "c": 0.15374,
    "h": 110
  },
  "luminance": 0.46177
}

Semantic roles & 50–950 ramp

primary
#BABB2E
secondary
#7C7BCA
accent
#44E445
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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