#A6A824#A6A824

#A6A824 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.144 H 110.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A6A824
RGBrgb(166, 168, 36)
HSLhsl(61, 65%, 40%)
HSVhsv(61, 79%, 66%)
CMYKcmyk(1.2%, 0%, 78.6%, 34.1%)
CIE-LABlab(66.70, -15.87, 62.16)
CIE-LCHlch(66.70, 64.16, 104.32°)
OKLaboklab(70.75% -0.0506 0.1353)
OKLCHoklch(70.75% 0.144 110.5)
XYZxyz(30.0481, 36.2405, 7.0810)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A824 #2624A8
analogous
#A86824 #A6A824 #64A824
triadic
#A6A824 #24A6A8 #A824A6
tetradic
#A6A824 #24A868 #2624A8 #A82464
square
#A6A824 #24A868 #2624A8 #A82464
split-complementary
#A6A824 #2464A8 #6824A8
monochromatic
#42430E #747619 #A6A824 #D1D435 #DDDF68

Accessibility & contrast

On white

2.55
#A6A824 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A6A824 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A824
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A824#FFFFFF#000000##000000
##A6A8241.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a824;
/* rgb */ color: rgb(166, 168, 36);
/* oklch */ color: oklch(70.8% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c16b',
    500: '#a6a824',
    950: '#000000',
  },
}
SCSS
$custom: #a6a824;
$custom-light: #c4c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a824",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 60.909,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.14446,
    "h": 110.5
  },
  "luminance": 0.3624
}

Semantic roles & 50–950 ramp

primary
#A6A824
secondary
#6563C4
accent
#40E843
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A824

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

Preview Lab → · Contrast checker → · Palette generator →

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