#A6A827#A6A827

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

Color values

HEX#A6A827
RGBrgb(166, 168, 39)
HSLhsl(61, 62%, 41%)
HSVhsv(61, 77%, 66%)
CMYKcmyk(1.2%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.72, -15.75, 61.25)
CIE-LCHlch(66.72, 63.24, 104.42°)
OKLaboklab(70.77% -0.05 0.1339)
OKLCHoklch(70.77% 0.143 110.5)
XYZxyz(30.0958, 36.2596, 7.3325)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A827 #2927A8
analogous
#A86927 #A6A827 #65A827
triadic
#A6A827 #27A6A8 #A827A6
tetradic
#A6A827 #27A869 #2927A8 #A82765
square
#A6A827 #27A869 #2927A8 #A82765
split-complementary
#A6A827 #2765A8 #6927A8
monochromatic
#444510 #75761B #A6A827 #CFD13B #DBDD6C

Accessibility & contrast

On white

2.54
#A6A827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A827#FFFFFF#000000##000000
##A6A8271.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a827;
/* rgb */ color: rgb(166, 168, 39);
/* oklch */ color: oklch(70.8% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c16c',
    500: '#a6a827',
    950: '#000000',
  },
}
SCSS
$custom: #a6a827;
$custom-light: #c4c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a827",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 60.93,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70769,
    "c": 0.14295,
    "h": 110.5
  },
  "luminance": 0.36259
}

Semantic roles & 50–950 ramp

primary
#A6A827
secondary
#6967C3
accent
#42E545
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A827

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

Preview Lab → · Contrast checker → · Palette generator →

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