#BAB43D#BAB43D

#BAB43D is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.138 H 106.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BAB43D
RGBrgb(186, 180, 61)
HSLhsl(57, 51%, 48%)
HSVhsv(57, 67%, 73%)
CMYKcmyk(0%, 3.2%, 67.2%, 27.1%)
CIE-LABlab(71.84, -12.18, 58.80)
CIE-LCHlch(71.84, 60.05, 101.70°)
OKLaboklab(75.31% -0.039 0.132)
OKLCHoklch(75.31% 0.138 106.4)
XYZxyz(37.4146, 43.4198, 10.8240)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB43D #3D43BA
analogous
#BA753D #BAB43D #81BA3D
triadic
#BAB43D #3DBAB4 #B43DBA
tetradic
#BAB43D #3DBA75 #3D43BA #BA3D81
square
#BAB43D #3DBA75 #3D43BA #BA3D81
split-complementary
#BAB43D #3D81BA #753DBA
monochromatic
#5E5B1F #8C872E #BAB43D #CDC867 #DCD995

Accessibility & contrast

On white

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

On black

9.68
#BAB43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB43D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB43D#FFFFFF#000000##000000
##BAB43D1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2C
Deuteranopia (green-blind)
#C6B245
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab43d;
/* rgb */ color: rgb(186, 180, 61);
/* oklch */ color: oklch(75.3% 0.138 106.4);
Tailwind
colors: {
  custom: {
    50: '#d2ca79',
    500: '#bab43d',
    950: '#000000',
  },
}
SCSS
$custom: #bab43d;
$custom-light: #d2ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab43d",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 57.12,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75305,
    "c": 0.13759,
    "h": 106.4
  },
  "luminance": 0.43419
}

Semantic roles & 50–950 ramp

primary
#BAB43D
secondary
#8B8EC8
accent
#54DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB43D

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

Preview Lab → · Contrast checker → · Palette generator →

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