#A6A727#A6A727

#A6A727 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.142 H 110.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A6A727
RGBrgb(166, 167, 39)
HSLhsl(60, 62%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0.6%, 0%, 76.6%, 34.5%)
CIE-LABlab(66.44, -15.23, 60.99)
CIE-LCHlch(66.44, 62.86, 104.02°)
OKLaboklab(70.54% -0.0486 0.1334)
OKLCHoklch(70.54% 0.142 110)
XYZxyz(29.9119, 35.8918, 7.2712)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A727 #2827A7
analogous
#A76827 #A6A727 #66A727
triadic
#A6A727 #27A6A7 #A727A6
tetradic
#A6A727 #27A768 #2827A7 #A72766
square
#A6A727 #27A768 #2827A7 #A72766
split-complementary
#A6A727 #2766A7 #6827A7
monochromatic
#434410 #75751B #A6A727 #D0D13A #DCDD6C

Accessibility & contrast

On white

2.57
#A6A727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A6A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A727
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A727#FFFFFF#000000##000000
##A6A7271.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a727;
/* rgb */ color: rgb(166, 167, 39);
/* oklch */ color: oklch(70.5% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#c4c06c',
    500: '#a6a727',
    950: '#000000',
  },
}
SCSS
$custom: #a6a727;
$custom-light: #c4c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a727",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 60.469,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.14195,
    "h": 110
  },
  "luminance": 0.35891
}

Semantic roles & 50–950 ramp

primary
#A6A727
secondary
#6767C3
accent
#43E544
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A727

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

Preview Lab → · Contrast checker → · Palette generator →

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