#A6BA2F#A6BA2F

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

Color values

HEX#A6BA2F
RGBrgb(166, 186, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(10.8%, 0%, 74.7%, 27.1%)
CIE-LABlab(71.85, -24.41, 63.41)
CIE-LCHlch(71.85, 67.95, 111.06°)
OKLaboklab(74.9% -0.0733 0.1399)
OKLCHoklch(74.9% 0.158 117.7)
XYZxyz(33.7987, 43.4304, 9.2912)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA2F #432FBA
analogous
#BA882F #A6BA2F #60BA2F
triadic
#A6BA2F #2FA6BA #BA2FA6
tetradic
#A6BA2F #2FBA88 #432FBA #BA2F60
square
#A6BA2F #2FBA88 #432FBA #BA2F60
split-complementary
#A6BA2F #2F60BA #882FBA
monochromatic
#4F5816 #7A8923 #A6BA2F #C1D353 #D3E084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a6ba2f;
/* rgb */ color: rgb(166, 186, 47);
/* oklch */ color: oklch(74.9% 0.158 117.7);
Tailwind
colors: {
  custom: {
    50: '#c4ce72',
    500: '#a6ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba2f;
$custom-light: #c4ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba2f",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 68.633,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74895,
    "c": 0.15798,
    "h": 117.7
  },
  "luminance": 0.4343
}

Semantic roles & 50–950 ramp

primary
#A6BA2F
secondary
#877CC9
accent
#45E35C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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