#BAC630#BAC630

#BAC630 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.164 H 114.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#BAC630
RGBrgb(186, 198, 48)
HSLhsl(65, 61%, 48%)
HSVhsv(65, 76%, 78%)
CMYKcmyk(6.1%, 0%, 75.8%, 22.4%)
CIE-LABlab(76.70, -21.86, 68.15)
CIE-LCHlch(76.70, 71.57, 107.79°)
OKLaboklab(79.17% -0.0673 0.1495)
OKLCHoklch(79.17% 0.164 114.2)
XYZxyz(40.9785, 51.0415, 10.4890)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC630 #3C30C6
analogous
#C68730 #BAC630 #6FC630
triadic
#BAC630 #30BAC6 #C630BA
tetradic
#BAC630 #30C687 #3C30C6 #C6306F
square
#BAC630 #30C687 #3C30C6 #C6306F
split-complementary
#BAC630 #306FC6 #8730C6
monochromatic
#5D6318 #8C9524 #BAC630 #CED75C #DCE38D

Accessibility & contrast

On white

1.87
#BAC630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#BAC630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC630
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC630#FFFFFF#000000##000000
##BAC6301.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC07
Deuteranopia (green-blind)
#D4BF3D
Tritanopia (blue-blind)
#C6BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac630;
/* rgb */ color: rgb(186, 198, 48);
/* oklch */ color: oklch(79.2% 0.164 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d774',
    500: '#bac630',
    950: '#000000',
  },
}
SCSS
$custom: #bac630;
$custom-light: #d2d774;
$custom-dark: #000000;
JSON
{
  "hex": "#bac630",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 48
  },
  "hsl": {
    "h": 64.8,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79169,
    "c": 0.16392,
    "h": 114.2
  },
  "luminance": 0.51041
}

Semantic roles & 50–950 ramp

primary
#BAC630
secondary
#312C6E
accent
#44E451
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC630

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

Preview Lab → · Contrast checker → · Palette generator →

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