#A6BA2D#A6BA2D

#A6BA2D 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#A6BA2D
RGBrgb(166, 186, 45)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 76%, 73%)
CMYKcmyk(10.8%, 0%, 75.8%, 27.1%)
CIE-LABlab(71.84, -24.50, 64.05)
CIE-LCHlch(71.84, 68.58, 110.94°)
OKLaboklab(74.88% -0.0738 0.1409)
OKLCHoklch(74.88% 0.159 117.6)
XYZxyz(33.7593, 43.4146, 9.0835)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA2D #412DBA
analogous
#BA882D #A6BA2D #5FBA2D
triadic
#A6BA2D #2DA6BA #BA2DA6
tetradic
#A6BA2D #2DBA88 #412DBA #BA2D5F
square
#A6BA2D #2DBA88 #412DBA #BA2D5F
split-complementary
#A6BA2D #2D5FBA #882DBA
monochromatic
#4E5715 #7A8921 #A6BA2D #C2D550 #D3E081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BA2D#FFFFFF#000000##000000
##A6BA2D1.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)
#C7B008
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#B0AFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba2d;
/* rgb */ color: rgb(166, 186, 45);
/* oklch */ color: oklch(74.9% 0.159 117.6);
Tailwind
colors: {
  custom: {
    50: '#c4ce71',
    500: '#a6ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba2d;
$custom-light: #c4ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba2d",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 68.511,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74883,
    "c": 0.15907,
    "h": 117.6
  },
  "luminance": 0.43414
}

Semantic roles & 50–950 ramp

primary
#A6BA2D
secondary
#8579C9
accent
#44E45A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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