#A6BA2B#A6BA2B

#A6BA2B 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#A6BA2B
RGBrgb(166, 186, 43)
HSLhsl(68, 62%, 45%)
HSVhsv(68, 77%, 73%)
CMYKcmyk(10.8%, 0%, 76.9%, 27.1%)
CIE-LABlab(71.83, -24.59, 64.67)
CIE-LCHlch(71.83, 69.19, 110.82°)
OKLaboklab(74.87% -0.0742 0.1419)
OKLCHoklch(74.87% 0.16 117.6)
XYZxyz(33.7217, 43.3996, 8.8855)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA2B #3F2BBA
analogous
#BA872B #A6BA2B #5EBA2B
triadic
#A6BA2B #2BA6BA #BA2BA6
tetradic
#A6BA2B #2BBA87 #3F2BBA #BA2B5E
square
#A6BA2B #2BBA87 #3F2BBA #BA2B5E
split-complementary
#A6BA2B #2B5EBA #872BBA
monochromatic
#4D5714 #7A8820 #A6BA2B #C3D64C #D3E17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BA2B#FFFFFF#000000##000000
##A6BA2B1.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)
#C7B001
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba2b;
/* rgb */ color: rgb(166, 186, 43);
/* oklch */ color: oklch(74.9% 0.160 117.6);
Tailwind
colors: {
  custom: {
    50: '#c4ce70',
    500: '#a6ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba2b;
$custom-light: #c4ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba2b",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 68.392,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74871,
    "c": 0.16012,
    "h": 117.6
  },
  "luminance": 0.43399
}

Semantic roles & 50–950 ramp

primary
#A6BA2B
secondary
#8377CA
accent
#42E659
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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