#BABD2F#BABD2F

#BABD2F is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.2% C 0.155 H 110.8°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#BABD2F
RGBrgb(186, 189, 47)
HSLhsl(61, 60%, 46%)
HSVhsv(61, 75%, 74%)
CMYKcmyk(1.6%, 0%, 75.1%, 25.9%)
CIE-LABlab(74.22, -17.44, 66.17)
CIE-LCHlch(74.22, 68.43, 104.76°)
OKLaboklab(77.17% -0.0551 0.1451)
OKLCHoklch(77.17% 0.155 110.8)
XYZxyz(38.9618, 47.0406, 9.7161)
Luminance0.4704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD2F #322FBD
analogous
#BD792F #BABD2F #73BD2F
triadic
#BABD2F #2FBABD #BD2FBA
tetradic
#BABD2F #2FBD79 #322FBD #BD2F73
square
#BABD2F #2FBD79 #322FBD #BD2F73
split-complementary
#BABD2F #2F73BD #792FBD
monochromatic
#5A5B17 #8A8C23 #BABD2F #D2D555 #DFE186

Accessibility & contrast

On white

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

On black

10.41
#BABD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD2F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD2F#FFFFFF#000000##000000
##BABD2F1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB40C
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#C7B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd2f;
/* rgb */ color: rgb(186, 189, 47);
/* oklch */ color: oklch(77.2% 0.155 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2d073',
    500: '#babd2f',
    950: '#000000',
  },
}
SCSS
$custom: #babd2f;
$custom-light: #d2d073;
$custom-dark: #000000;
JSON
{
  "hex": "#babd2f",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 61.268,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77174,
    "c": 0.1552,
    "h": 110.8
  },
  "luminance": 0.4704
}

Semantic roles & 50–950 ramp

primary
#BABD2F
secondary
#7F7ECA
accent
#44E348
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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