#A6BA34#A6BA34

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

Color values

HEX#A6BA34
RGBrgb(166, 186, 52)
HSLhsl(69, 56%, 47%)
HSVhsv(69, 72%, 73%)
CMYKcmyk(10.8%, 0%, 72%, 27.1%)
CIE-LABlab(71.87, -24.16, 61.72)
CIE-LCHlch(71.87, 66.28, 111.38°)
OKLaboklab(74.93% -0.0722 0.1372)
OKLCHoklch(74.93% 0.155 117.8)
XYZxyz(33.9054, 43.4731, 9.8532)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA34 #4834BA
analogous
#BA8B34 #A6BA34 #63BA34
triadic
#A6BA34 #34A6BA #BA34A6
tetradic
#A6BA34 #34BA8B #4834BA #BA3463
square
#A6BA34 #34BA8B #4834BA #BA3463
split-complementary
#A6BA34 #3463BA #8B34BA
monochromatic
#515A19 #7B8A27 #A6BA34 #BFD15A #D2DE8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BA34#FFFFFF#000000##000000
##A6BA341.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)
#C6B01B
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba34;
/* rgb */ color: rgb(166, 186, 52);
/* oklch */ color: oklch(74.9% 0.155 117.8);
Tailwind
colors: {
  custom: {
    50: '#c4ce75',
    500: '#a6ba34',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba34;
$custom-light: #c4ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba34",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 68.955,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74927,
    "c": 0.15506,
    "h": 117.8
  },
  "luminance": 0.43473
}

Semantic roles & 50–950 ramp

primary
#A6BA34
secondary
#8C81C8
accent
#48E05F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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