#BAB83C#BAB83C

#BAB83C is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.2% C 0.142 H 108.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#BAB83C
RGBrgb(186, 184, 60)
HSLhsl(59, 51%, 48%)
HSVhsv(59, 68%, 73%)
CMYKcmyk(0%, 1.1%, 67.7%, 27.1%)
CIE-LABlab(72.92, -14.28, 60.29)
CIE-LCHlch(72.92, 61.96, 103.32°)
OKLaboklab(76.17% -0.045 0.1349)
OKLCHoklch(76.17% 0.142 108.4)
XYZxyz(38.2071, 45.0475, 10.9565)
Luminance0.4505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB83C #3C3EBA
analogous
#BA793C #BAB83C #7DBA3C
triadic
#BAB83C #3CBAB8 #B83CBA
tetradic
#BAB83C #3CBA79 #3C3EBA #BA3C7D
square
#BAB83C #3CBA79 #3C3EBA #BA3C7D
split-complementary
#BAB83C #3C7DBA #793CBA
monochromatic
#5D5C1E #8C8A2D #BAB83C #CECC66 #DCDB94

Accessibility & contrast

On white

2.10
#BAB83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#BAB83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB83C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB83C#FFFFFF#000000##000000
##BAB83C1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B129
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab83c;
/* rgb */ color: rgb(186, 184, 60);
/* oklch */ color: oklch(76.2% 0.142 108.4);
Tailwind
colors: {
  custom: {
    50: '#d2cd79',
    500: '#bab83c',
    950: '#000000',
  },
}
SCSS
$custom: #bab83c;
$custom-light: #d2cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab83c",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 60
  },
  "hsl": {
    "h": 59.048,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.14226,
    "h": 108.4
  },
  "luminance": 0.45046
}

Semantic roles & 50–950 ramp

primary
#BAB83C
secondary
#8A8BC8
accent
#4FDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB83C

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

Preview Lab → · Contrast checker → · Palette generator →

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