#A6BA2C#A6BA2C

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

Color values

HEX#A6BA2C
RGBrgb(166, 186, 44)
HSLhsl(68, 62%, 45%)
HSVhsv(68, 76%, 73%)
CMYKcmyk(10.8%, 0%, 76.3%, 27.1%)
CIE-LABlab(71.83, -24.55, 64.36)
CIE-LCHlch(71.83, 68.89, 110.88°)
OKLaboklab(74.88% -0.074 0.1414)
OKLCHoklch(74.88% 0.16 117.6)
XYZxyz(33.7402, 43.4070, 8.9833)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA2C #402CBA
analogous
#BA872C #A6BA2C #5FBA2C
triadic
#A6BA2C #2CA6BA #BA2CA6
tetradic
#A6BA2C #2CBA87 #402CBA #BA2C5F
square
#A6BA2C #2CBA87 #402CBA #BA2C5F
split-complementary
#A6BA2C #2C5FBA #872CBA
monochromatic
#4E5715 #7A8920 #A6BA2C #C2D54E #D3E180

Accessibility & contrast

On white

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

On black

9.68
#A6BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA2C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA2C#FFFFFF#000000##000000
##A6BA2C1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B005
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba2c;
/* rgb */ color: rgb(166, 186, 44);
/* oklch */ color: oklch(74.9% 0.160 117.6);
Tailwind
colors: {
  custom: {
    50: '#c4ce71',
    500: '#a6ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba2c;
$custom-light: #c4ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba2c",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 68.451,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74877,
    "c": 0.1596,
    "h": 117.6
  },
  "luminance": 0.43407
}

Semantic roles & 50–950 ramp

primary
#A6BA2C
secondary
#8478CA
accent
#43E55A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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