#A6A02F#A6A02F

#A6A02F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.130 H 106.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A6A02F
RGBrgb(166, 160, 47)
HSLhsl(57, 56%, 42%)
HSVhsv(57, 72%, 65%)
CMYKcmyk(0%, 3.6%, 71.7%, 34.9%)
CIE-LABlab(64.53, -11.23, 56.39)
CIE-LCHlch(64.53, 57.50, 101.26°)
OKLaboklab(69.04% -0.0366 0.1251)
OKLCHoklch(69.04% 0.13 106.3)
XYZxyz(28.8109, 33.4549, 7.6286)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A02F #2F35A6
analogous
#A6652F #A6A02F #71A62F
triadic
#A6A02F #2FA6A0 #A02FA6
tetradic
#A6A02F #2FA665 #2F35A6 #A62F71
square
#A6A02F #2FA665 #2F35A6 #A62F71
split-complementary
#A6A02F #2F71A6 #652FA6
monochromatic
#474414 #767221 #A6A02F #CBC447 #D8D477

Accessibility & contrast

On white

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

On black

7.69
#A6A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A02F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A02F#FFFFFF#000000##000000
##A6A02F1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B09F37
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a02f;
/* rgb */ color: rgb(166, 160, 47);
/* oklch */ color: oklch(69.0% 0.130 106.3);
Tailwind
colors: {
  custom: {
    50: '#c4bb6f',
    500: '#a6a02f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a02f;
$custom-light: #c4bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a02f",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 56.975,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69035,
    "c": 0.13035,
    "h": 106.3
  },
  "luminance": 0.33454
}

Semantic roles & 50–950 ramp

primary
#A6A02F
secondary
#7074C1
accent
#50DF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A6A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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