#BABF3E#BABF3E

#BABF3E is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.148 H 111.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#BABF3E
RGBrgb(186, 191, 62)
HSLhsl(62, 51%, 50%)
HSVhsv(62, 68%, 75%)
CMYKcmyk(2.6%, 0%, 67.5%, 25.1%)
CIE-LABlab(74.86, -17.71, 61.46)
CIE-LCHlch(74.86, 63.96, 106.07°)
OKLaboklab(77.72% -0.0544 0.1378)
OKLCHoklch(77.72% 0.148 111.6)
XYZxyz(39.7512, 48.0495, 11.7370)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF3E #433EBF
analogous
#BF843E #BABF3E #79BF3E
triadic
#BABF3E #3EBABF #BF3EBA
tetradic
#BABF3E #3EBF84 #433EBF #BF3E79
square
#BABF3E #3EBF84 #433EBF #BF3E79
split-complementary
#BABF3E #3E79BF #843EBF
monochromatic
#606320 #8D912F #BABF3E #CBCF6B #DBDE99

Accessibility & contrast

On white

1.98
#BABF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#BABF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABF3E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABF3E#FFFFFF#000000##000000
##BABF3E1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62B
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#C6B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf3e;
/* rgb */ color: rgb(186, 191, 62);
/* oklch */ color: oklch(77.7% 0.148 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d27b',
    500: '#babf3e',
    950: '#000000',
  },
}
SCSS
$custom: #babf3e;
$custom-light: #d2d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#babf3e",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 62
  },
  "hsl": {
    "h": 62.326,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77715,
    "c": 0.14811,
    "h": 111.6
  },
  "luminance": 0.48049
}

Semantic roles & 50–950 ramp

primary
#BABF3E
secondary
#918FCA
accent
#4DDA53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BABF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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