#A1A62C#A1A62C

#A1A62C is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.139 H 111.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A1A62C
RGBrgb(161, 166, 44)
HSLhsl(62, 58%, 41%)
HSVhsv(62, 73%, 65%)
CMYKcmyk(3%, 0%, 73.5%, 34.9%)
CIE-LABlab(65.77, -16.68, 58.54)
CIE-LCHlch(65.77, 60.87, 105.90°)
OKLaboklab(69.92% -0.0519 0.1293)
OKLCHoklch(69.92% 0.139 111.9)
XYZxyz(28.7897, 35.0321, 7.6277)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A62C #312CA6
analogous
#A66E2C #A1A62C #64A62C
triadic
#A1A62C #2CA1A6 #A62CA1
tetradic
#A1A62C #2CA66E #312CA6 #A62C64
square
#A1A62C #2CA66E #312CA6 #A62C64
split-complementary
#A1A62C #2C64A6 #6E2CA6
monochromatic
#434512 #72761F #A1A62C #C7CD42 #D6DA73

Accessibility & contrast

On white

2.62
#A1A62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A1A62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A62C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A62C#FFFFFF#000000##000000
##A1A62C1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E14
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#AC9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a62c;
/* rgb */ color: rgb(161, 166, 44);
/* oklch */ color: oklch(69.9% 0.139 111.9);
Tailwind
colors: {
  custom: {
    50: '#c0c06e',
    500: '#a1a62c',
    950: '#000000',
  },
}
SCSS
$custom: #a1a62c;
$custom-light: #c0c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a62c",
  "rgb": {
    "r": 161,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 62.459,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69922,
    "c": 0.1393,
    "h": 111.9
  },
  "luminance": 0.35031
}

Semantic roles & 50–950 ramp

primary
#A1A62C
secondary
#706DC1
accent
#46E14D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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