#A6B62A#A6B62A

#A6B62A is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.0% C 0.156 H 116.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#A6B62A
RGBrgb(166, 182, 42)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(8.8%, 0%, 76.9%, 28.6%)
CIE-LABlab(70.68, -22.67, 63.94)
CIE-LCHlch(70.68, 67.84, 109.53°)
OKLaboklab(73.95% -0.0689 0.1402)
OKLCHoklch(73.95% 0.156 116.2)
XYZxyz(32.8726, 41.7305, 8.5131)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B62A #3A2AB6
analogous
#B6802A #A6B62A #60B62A
triadic
#A6B62A #2AA6B6 #B62AA6
tetradic
#A6B62A #2AB680 #3A2AB6 #B62A60
square
#A6B62A #2AB680 #3A2AB6 #B62A60
split-complementary
#A6B62A #2A60B6 #802AB6
monochromatic
#4B5313 #79841F #A6B62A #C5D548 #D5E07A

Accessibility & contrast

On white

2.25
#A6B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#A6B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B62A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B62A#FFFFFF#000000##000000
##A6B62A1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC01
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6b62a;
/* rgb */ color: rgb(166, 182, 42);
/* oklch */ color: oklch(74.0% 0.156 116.2);
Tailwind
colors: {
  custom: {
    50: '#c4cb6f',
    500: '#a6b62a',
    950: '#000000',
  },
}
SCSS
$custom: #a6b62a;
$custom-light: #c4cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b62a",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 66.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73953,
    "c": 0.15621,
    "h": 116.2
  },
  "luminance": 0.4173
}

Semantic roles & 50–950 ramp

primary
#A6B62A
secondary
#7D73C8
accent
#42E655
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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