#A6BA30#A6BA30

#A6BA30 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.157 H 117.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#A6BA30
RGBrgb(166, 186, 48)
HSLhsl(69, 59%, 46%)
HSVhsv(69, 74%, 73%)
CMYKcmyk(10.8%, 0%, 74.2%, 27.1%)
CIE-LABlab(71.85, -24.37, 63.08)
CIE-LCHlch(71.85, 67.62, 111.12°)
OKLaboklab(74.9% -0.0731 0.1394)
OKLCHoklch(74.9% 0.157 117.7)
XYZxyz(33.8191, 43.4386, 9.3986)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA30 #4430BA
analogous
#BA8930 #A6BA30 #61BA30
triadic
#A6BA30 #30A6BA #BA30A6
tetradic
#A6BA30 #30BA89 #4430BA #BA3061
square
#A6BA30 #30BA89 #4430BA #BA3061
split-complementary
#A6BA30 #3061BA #8930BA
monochromatic
#4F5917 #7B8923 #A6BA30 #C1D354 #D2DF85

Accessibility & contrast

On white

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

On black

9.69
#A6BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA30
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA30#FFFFFF#000000##000000
##A6BA301.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba30;
/* rgb */ color: rgb(166, 186, 48);
/* oklch */ color: oklch(74.9% 0.157 117.7);
Tailwind
colors: {
  custom: {
    50: '#c4ce73',
    500: '#a6ba30',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba30;
$custom-light: #c4ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba30",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 68.696,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74901,
    "c": 0.15741,
    "h": 117.7
  },
  "luminance": 0.43438
}

Semantic roles & 50–950 ramp

primary
#A6BA30
secondary
#887DC9
accent
#46E25C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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