#BABC30#BABC30

#BABC30 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.0% C 0.154 H 110.4°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BABC30
RGBrgb(186, 188, 48)
HSLhsl(61, 59%, 46%)
HSVhsv(61, 74%, 74%)
CMYKcmyk(1.1%, 0%, 74.5%, 26.3%)
CIE-LABlab(73.95, -16.89, 65.60)
CIE-LCHlch(73.95, 67.74, 104.44°)
OKLaboklab(76.96% -0.0535 0.1441)
OKLCHoklch(76.96% 0.154 110.4)
XYZxyz(38.7678, 46.6200, 9.7521)
Luminance0.4662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC30 #3230BC
analogous
#BC7830 #BABC30 #74BC30
triadic
#BABC30 #30BABC #BC30BA
tetradic
#BABC30 #30BC78 #3230BC #BC3074
square
#BABC30 #30BC78 #3230BC #BC3074
split-complementary
#BABC30 #3074BC #7830BC
monochromatic
#5A5A17 #8A8B24 #BABC30 #D2D455 #DFE086

Accessibility & contrast

On white

2.03
#BABC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#BABC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC30
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC30#FFFFFF#000000##000000
##BABC301.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB410
Deuteranopia (green-blind)
#CCB83B
Tritanopia (blue-blind)
#C7B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc30;
/* rgb */ color: rgb(186, 188, 48);
/* oklch */ color: oklch(77.0% 0.154 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf73',
    500: '#babc30',
    950: '#000000',
  },
}
SCSS
$custom: #babc30;
$custom-light: #d2cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#babc30",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 48
  },
  "hsl": {
    "h": 60.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7696,
    "c": 0.15366,
    "h": 110.4
  },
  "luminance": 0.46619
}

Semantic roles & 50–950 ramp

primary
#BABC30
secondary
#7F7ECA
accent
#45E348
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABC30

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

Preview Lab → · Contrast checker → · Palette generator →

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