#A6BA33#A6BA33

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

Color values

HEX#A6BA33
RGBrgb(166, 186, 51)
HSLhsl(69, 57%, 46%)
HSVhsv(69, 73%, 73%)
CMYKcmyk(10.8%, 0%, 72.6%, 27.1%)
CIE-LABlab(71.87, -24.22, 62.06)
CIE-LCHlch(71.87, 66.62, 111.31°)
OKLaboklab(74.92% -0.0724 0.1378)
OKLCHoklch(74.92% 0.156 117.7)
XYZxyz(33.8831, 43.4642, 9.7358)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA33 #4733BA
analogous
#BA8B33 #A6BA33 #63BA33
triadic
#A6BA33 #33A6BA #BA33A6
tetradic
#A6BA33 #33BA8B #4733BA #BA3363
square
#A6BA33 #33BA8B #4733BA #BA3363
split-complementary
#A6BA33 #3363BA #8B33BA
monochromatic
#505A19 #7B8A26 #A6BA33 #C0D159 #D2DF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BA33#FFFFFF#000000##000000
##A6BA331.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)
#C7B019
Deuteranopia (green-blind)
#C4B13E
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba33;
/* rgb */ color: rgb(166, 186, 51);
/* oklch */ color: oklch(74.9% 0.156 117.7);
Tailwind
colors: {
  custom: {
    50: '#c4ce74',
    500: '#a6ba33',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba33;
$custom-light: #c4ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba33",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 68.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7492,
    "c": 0.15566,
    "h": 117.7
  },
  "luminance": 0.43464
}

Semantic roles & 50–950 ramp

primary
#A6BA33
secondary
#8B80C9
accent
#48E05E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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