#BABD1F#BABD1F

#BABD1F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.1% C 0.162 H 110.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#BABD1F
RGBrgb(186, 189, 31)
HSLhsl(61, 72%, 43%)
HSVhsv(61, 84%, 74%)
CMYKcmyk(1.6%, 0%, 83.6%, 25.9%)
CIE-LABlab(74.15, -17.99, 70.57)
CIE-LCHlch(74.15, 72.83, 104.30°)
OKLaboklab(77.1% -0.0578 0.1517)
OKLCHoklch(77.1% 0.162 110.9)
XYZxyz(38.6961, 46.9343, 8.3169)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD1F #221FBD
analogous
#BD711F #BABD1F #6BBD1F
triadic
#BABD1F #1FBABD #BD1FBA
tetradic
#BABD1F #1FBD71 #221FBD #BD1F6B
square
#BABD1F #1FBD71 #221FBD #BD1F6B
split-complementary
#BABD1F #1F6BBD #711FBD
monochromatic
#53540E #868816 #BABD1F #DCDF3A #E5E76F

Accessibility & contrast

On white

2.02
#BABD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#BABD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD1F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD1F#FFFFFF#000000##000000
##BABD1F1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB400
Deuteranopia (green-blind)
#CEB830
Tritanopia (blue-blind)
#C8B1A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd1f;
/* rgb */ color: rgb(186, 189, 31);
/* oklch */ color: oklch(77.1% 0.162 110.9);
Tailwind
colors: {
  custom: {
    50: '#d3d06c',
    500: '#babd1f',
    950: '#000000',
  },
}
SCSS
$custom: #babd1f;
$custom-light: #d3d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#babd1f",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 31
  },
  "hsl": {
    "h": 61.139,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.77098,
    "c": 0.16233,
    "h": 110.9
  },
  "luminance": 0.46933
}

Semantic roles & 50–950 ramp

primary
#BABD1F
secondary
#6C6ACE
accent
#39EF3D
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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