#A6BA2E#A6BA2E

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

Color values

HEX#A6BA2E
RGBrgb(166, 186, 46)
HSLhsl(69, 60%, 45%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(10.8%, 0%, 75.3%, 27.1%)
CIE-LABlab(71.84, -24.46, 63.73)
CIE-LCHlch(71.84, 68.26, 111.00°)
OKLaboklab(74.89% -0.0735 0.1404)
OKLCHoklch(74.89% 0.159 117.6)
XYZxyz(33.7787, 43.4224, 9.1861)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA2E #422EBA
analogous
#BA882E #A6BA2E #60BA2E
triadic
#A6BA2E #2EA6BA #BA2EA6
tetradic
#A6BA2E #2EBA88 #422EBA #BA2E60
square
#A6BA2E #2EBA88 #422EBA #BA2E60
split-complementary
#A6BA2E #2E60BA #882EBA
monochromatic
#4E5816 #7A8922 #A6BA2E #C1D451 #D3E082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BA2E#FFFFFF#000000##000000
##A6BA2E1.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)
#C7B00C
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#B0AFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba2e;
/* rgb */ color: rgb(166, 186, 46);
/* oklch */ color: oklch(74.9% 0.159 117.6);
Tailwind
colors: {
  custom: {
    50: '#c4ce72',
    500: '#a6ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba2e;
$custom-light: #c4ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba2e",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 68.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74889,
    "c": 0.15853,
    "h": 117.6
  },
  "luminance": 0.43422
}

Semantic roles & 50–950 ramp

primary
#A6BA2E
secondary
#867BC9
accent
#44E35B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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