#A6BC2F#A6BC2F

#A6BC2F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.160 H 118.3°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#A6BC2F
RGBrgb(166, 188, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 74%)
CMYKcmyk(11.7%, 0%, 75%, 26.3%)
CIE-LABlab(72.41, -25.39, 63.94)
CIE-LCHlch(72.41, 68.80, 111.65°)
OKLaboklab(75.35% -0.076 0.1411)
OKLCHoklch(75.35% 0.16 118.3)
XYZxyz(34.2230, 44.2790, 9.4326)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC2F #452FBC
analogous
#BC8B2F #A6BC2F #5FBC2F
triadic
#A6BC2F #2FA6BC #BC2FA6
tetradic
#A6BC2F #2FBC8B #452FBC #BC2F5F
square
#A6BC2F #2FBC8B #452FBC #BC2F5F
split-complementary
#A6BC2F #2F5FBC #8B2FBC
monochromatic
#505A17 #7B8B23 #A6BC2F #C0D454 #D2E085

Accessibility & contrast

On white

2.13
#A6BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#A6BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC2F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC2F#FFFFFF#000000##000000
##A6BC2F1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B10E
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc2f;
/* rgb */ color: rgb(166, 188, 47);
/* oklch */ color: oklch(75.4% 0.160 118.3);
Tailwind
colors: {
  custom: {
    50: '#c4d072',
    500: '#a6bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc2f;
$custom-light: #c4d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc2f",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 69.362,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75352,
    "c": 0.16025,
    "h": 118.3
  },
  "luminance": 0.44279
}

Semantic roles & 50–950 ramp

primary
#A6BC2F
secondary
#897DCA
accent
#45E35D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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