#BABB58#BABB58

#BABB58 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.1% C 0.122 H 109.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BABB58
RGBrgb(186, 187, 88)
HSLhsl(61, 42%, 54%)
HSVhsv(61, 53%, 73%)
CMYKcmyk(0.5%, 0%, 52.9%, 26.7%)
CIE-LABlab(73.99, -13.87, 49.29)
CIE-LCHlch(73.99, 51.20, 105.71°)
OKLaboklab(77.1% -0.0408 0.1154)
OKLCHoklch(77.1% 0.122 109.5)
XYZxyz(39.7824, 46.6853, 16.1461)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB58 #5958BB
analogous
#BB8B58 #BABB58 #89BB58
triadic
#BABB58 #58BABB #BB58BA
tetradic
#BABB58 #58BB8B #5958BB #BB5889
square
#BABB58 #58BB8B #5958BB #BB5889
split-complementary
#BABB58 #5889BB #8B58BB
monochromatic
#6C6C2C #97983E #BABB58 #CCCD83 #DEDEAF

Accessibility & contrast

On white

2.03
#BABB58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BABB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB58
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB58#FFFFFF#000000##000000
##BABB581.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44E
Deuteranopia (green-blind)
#C9B75D
Tritanopia (blue-blind)
#C5B1A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb58;
/* rgb */ color: rgb(186, 187, 88);
/* oklch */ color: oklch(77.1% 0.122 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cf8a',
    500: '#babb58',
    950: '#000000',
  },
}
SCSS
$custom: #babb58;
$custom-light: #d1cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#babb58",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 88
  },
  "hsl": {
    "h": 60.606,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77095,
    "c": 0.12239,
    "h": 109.5
  },
  "luminance": 0.46684
}

Semantic roles & 50–950 ramp

primary
#BABB58
secondary
#A3A2CD
accent
#56D257
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABB58

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

Preview Lab → · Contrast checker → · Palette generator →

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