#A6A01F#A6A01F

#A6A01F is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.139 H 106.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A6A01F
RGBrgb(166, 160, 31)
HSLhsl(57, 69%, 39%)
HSVhsv(57, 81%, 65%)
CMYKcmyk(0%, 3.6%, 81.3%, 34.9%)
CIE-LABlab(64.44, -11.90, 61.63)
CIE-LCHlch(64.44, 62.77, 100.92°)
OKLaboklab(68.94% -0.0399 0.1332)
OKLCHoklch(68.94% 0.139 106.7)
XYZxyz(28.5452, 33.3486, 6.2294)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A01F #1F25A6
analogous
#A65C1F #A6A01F #68A61F
triadic
#A6A01F #1FA6A0 #A01FA6
tetradic
#A6A01F #1FA65C #1F25A6 #A61F68
square
#A6A01F #1FA65C #1F25A6 #A61F68
split-complementary
#A6A01F #1F68A6 #5C1FA6
monochromatic
#3F3D0C #726E15 #A6A01F #D7D02B #E1DB5E

Accessibility & contrast

On white

2.74
#A6A01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A6A01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A01F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A01F#FFFFFF#000000##000000
##A6A01F1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a01f;
/* rgb */ color: rgb(166, 160, 31);
/* oklch */ color: oklch(68.9% 0.139 106.7);
Tailwind
colors: {
  custom: {
    50: '#c4bb68',
    500: '#a6a01f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a01f;
$custom-light: #c4bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a01f",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 57.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6894,
    "c": 0.13909,
    "h": 106.7
  },
  "luminance": 0.33348
}

Semantic roles & 50–950 ramp

primary
#A6A01F
secondary
#5B60C5
accent
#44EB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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