#A6BB2D#A6BB2D

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

Color values

HEX#A6BB2D
RGBrgb(166, 187, 45)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 76%, 73%)
CMYKcmyk(11.2%, 0%, 75.9%, 26.7%)
CIE-LABlab(72.12, -24.99, 64.32)
CIE-LCHlch(72.12, 69.00, 111.24°)
OKLaboklab(75.11% -0.0751 0.1415)
OKLCHoklch(75.11% 0.16 118)
XYZxyz(33.9707, 43.8374, 9.1540)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB2D #422DBB
analogous
#BB892D #A6BB2D #5FBB2D
triadic
#A6BB2D #2DA6BB #BB2DA6
tetradic
#A6BB2D #2DBB89 #422DBB #BB2D5F
square
#A6BB2D #2DBB89 #422DBB #BB2D5F
split-complementary
#A6BB2D #2D5FBB #892DBB
monochromatic
#4E5815 #7A8A21 #A6BB2D #C1D550 #D3E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BB2D#FFFFFF#000000##000000
##A6BB2D1.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)
#C8B107
Deuteranopia (green-blind)
#C6B13A
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb2d;
/* rgb */ color: rgb(166, 187, 45);
/* oklch */ color: oklch(75.1% 0.160 118.0);
Tailwind
colors: {
  custom: {
    50: '#c4cf71',
    500: '#a6bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb2d;
$custom-light: #c4cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb2d",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 68.873,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75111,
    "c": 0.16019,
    "h": 118
  },
  "luminance": 0.43837
}

Semantic roles & 50–950 ramp

primary
#A6BB2D
secondary
#867ACA
accent
#43E45B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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