#BAB430#BAB430

#BAB430 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.146 H 106.8°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BAB430
RGBrgb(186, 180, 48)
HSLhsl(57, 59%, 46%)
HSVhsv(57, 74%, 73%)
CMYKcmyk(0%, 3.2%, 74.2%, 27.1%)
CIE-LABlab(71.76, -12.83, 63.55)
CIE-LCHlch(71.76, 64.83, 101.41°)
OKLaboklab(75.21% -0.0421 0.1397)
OKLCHoklch(75.21% 0.146 106.8)
XYZxyz(37.1060, 43.2963, 9.1982)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB430 #3036BA
analogous
#BA6F30 #BAB430 #7BBA30
triadic
#BAB430 #30BAB4 #B430BA
tetradic
#BAB430 #30BA6F #3036BA #BA307B
square
#BAB430 #30BA6F #3036BA #BA307B
split-complementary
#BAB430 #307BBA #6F30BA
monochromatic
#595617 #898523 #BAB430 #D3CD54 #DFDC85

Accessibility & contrast

On white

2.17
#BAB430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BAB430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB430
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB430#FFFFFF#000000##000000
##BAB4301.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab430;
/* rgb */ color: rgb(186, 180, 48);
/* oklch */ color: oklch(75.2% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#d2ca72',
    500: '#bab430',
    950: '#000000',
  },
}
SCSS
$custom: #bab430;
$custom-light: #d2ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#bab430",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 48
  },
  "hsl": {
    "h": 57.391,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75212,
    "c": 0.14592,
    "h": 106.8
  },
  "luminance": 0.43295
}

Semantic roles & 50–950 ramp

primary
#BAB430
secondary
#7D80C9
accent
#4CE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB430

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

Preview Lab → · Contrast checker → · Palette generator →

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