#A6BB2F#A6BB2F

#A6BB2F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.1% C 0.159 H 118.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A6BB2F
RGBrgb(166, 187, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(11.2%, 0%, 74.9%, 26.7%)
CIE-LABlab(72.13, -24.90, 63.68)
CIE-LCHlch(72.13, 68.37, 111.36°)
OKLaboklab(75.12% -0.0747 0.1405)
OKLCHoklch(75.12% 0.159 118)
XYZxyz(34.0101, 43.8532, 9.3616)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB2F #442FBB
analogous
#BB8A2F #A6BB2F #60BB2F
triadic
#A6BB2F #2FA6BB #BB2FA6
tetradic
#A6BB2F #2FBB8A #442FBB #BB2F60
square
#A6BB2F #2FBB8A #442FBB #BB2F60
split-complementary
#A6BB2F #2F60BB #8A2FBB
monochromatic
#4F5916 #7B8A23 #A6BB2F #C1D453 #D2E084

Accessibility & contrast

On white

2.15
#A6BB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A6BB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB2F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB2F#FFFFFF#000000##000000
##A6BB2F1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10E
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#B0B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb2f;
/* rgb */ color: rgb(166, 187, 47);
/* oklch */ color: oklch(75.1% 0.159 118.0);
Tailwind
colors: {
  custom: {
    50: '#c4cf72',
    500: '#a6bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb2f;
$custom-light: #c4cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb2f",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 69,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75123,
    "c": 0.15911,
    "h": 118
  },
  "luminance": 0.43853
}

Semantic roles & 50–950 ramp

primary
#A6BB2F
secondary
#887CC9
accent
#45E35D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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