#A2A630#A2A630

#A2A630 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.137 H 111.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A2A630
RGBrgb(162, 166, 48)
HSLhsl(62, 55%, 42%)
HSVhsv(62, 71%, 65%)
CMYKcmyk(2.4%, 0%, 71.1%, 34.9%)
CIE-LABlab(65.88, -16.05, 57.22)
CIE-LCHlch(65.88, 59.43, 105.66°)
OKLaboklab(70.03% -0.0498 0.1272)
OKLCHoklch(70.03% 0.137 111.4)
XYZxyz(29.0710, 35.1680, 8.0524)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A630 #3430A6
analogous
#A66F30 #A2A630 #67A630
triadic
#A2A630 #30A2A6 #A630A2
tetradic
#A2A630 #30A66F #3430A6 #A63067
square
#A2A630 #30A66F #3430A6 #A63067
split-complementary
#A2A630 #3067A6 #6F30A6
monochromatic
#454715 #747722 #A2A630 #C6CA49 #D5D878

Accessibility & contrast

On white

2.61
#A2A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A2A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A630
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A630#FFFFFF#000000##000000
##A2A6301.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a630;
/* rgb */ color: rgb(162, 166, 48);
/* oklch */ color: oklch(70.0% 0.137 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c070',
    500: '#a2a630',
    950: '#000000',
  },
}
SCSS
$custom: #a2a630;
$custom-light: #c1c070;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a630",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 62.034,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70034,
    "c": 0.13657,
    "h": 111.4
  },
  "luminance": 0.35167
}

Semantic roles & 50–950 ramp

primary
#A2A630
secondary
#7471C0
accent
#49DE4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A630

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

Preview Lab → · Contrast checker → · Palette generator →

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