#BAB630#BAB630

#BAB630 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.148 H 107.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BAB630
RGBrgb(186, 182, 48)
HSLhsl(58, 59%, 46%)
HSVhsv(58, 74%, 73%)
CMYKcmyk(0%, 2.2%, 74.2%, 27.1%)
CIE-LABlab(72.30, -13.85, 64.06)
CIE-LCHlch(72.30, 65.54, 102.20°)
OKLaboklab(75.65% -0.045 0.1408)
OKLCHoklch(75.65% 0.148 107.7)
XYZxyz(37.5126, 44.1097, 9.3337)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB630 #3034BA
analogous
#BA7130 #BAB630 #79BA30
triadic
#BAB630 #30BAB6 #B630BA
tetradic
#BAB630 #30BA71 #3034BA #BA3079
square
#BAB630 #30BA71 #3034BA #BA3079
split-complementary
#BAB630 #3079BA #7130BA
monochromatic
#595717 #898623 #BAB630 #D3CF54 #DFDD85

Accessibility & contrast

On white

2.14
#BAB630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#BAB630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB630
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB630#FFFFFF#000000##000000
##BAB6301.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF13
Deuteranopia (green-blind)
#C8B33A
Tritanopia (blue-blind)
#C8AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab630;
/* rgb */ color: rgb(186, 182, 48);
/* oklch */ color: oklch(75.6% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#d2cb73',
    500: '#bab630',
    950: '#000000',
  },
}
SCSS
$custom: #bab630;
$custom-light: #d2cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#bab630",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 58.261,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75647,
    "c": 0.1478,
    "h": 107.7
  },
  "luminance": 0.44108
}

Semantic roles & 50–950 ramp

primary
#BAB630
secondary
#7D7FC9
accent
#4AE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB630

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

Preview Lab → · Contrast checker → · Palette generator →

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