#A6A027#A6A027

#A6A027 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.135 H 106.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A6A027
RGBrgb(166, 160, 39)
HSLhsl(57, 62%, 40%)
HSVhsv(57, 77%, 65%)
CMYKcmyk(0%, 3.6%, 76.5%, 34.9%)
CIE-LABlab(64.48, -11.60, 59.19)
CIE-LCHlch(64.48, 60.32, 101.08°)
OKLaboklab(68.98% -0.0384 0.1296)
OKLCHoklch(68.98% 0.135 106.5)
XYZxyz(28.6641, 33.3961, 6.8553)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A027 #272DA6
analogous
#A66027 #A6A027 #6DA627
triadic
#A6A027 #27A6A0 #A027A6
tetradic
#A6A027 #27A660 #272DA6 #A6276D
square
#A6A027 #27A660 #272DA6 #A6276D
split-complementary
#A6A027 #276DA6 #6027A6
monochromatic
#434010 #74701B #A6A027 #D1C93A #DCD76B

Accessibility & contrast

On white

2.73
#A6A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A6A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A027
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A027#FFFFFF#000000##000000
##A6A0271.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0A
Deuteranopia (green-blind)
#B19E31
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a027;
/* rgb */ color: rgb(166, 160, 39);
/* oklch */ color: oklch(69.0% 0.135 106.5);
Tailwind
colors: {
  custom: {
    50: '#c4bb6b',
    500: '#a6a027',
    950: '#000000',
  },
}
SCSS
$custom: #a6a027;
$custom-light: #c4bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a027",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 57.165,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68982,
    "c": 0.13512,
    "h": 106.5
  },
  "luminance": 0.33395
}

Semantic roles & 50–950 ramp

primary
#A6A027
secondary
#666BC3
accent
#4AE543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A027

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

Preview Lab → · Contrast checker → · Palette generator →

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