#A2A330#A2A330

#A2A330 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.133 H 109.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A2A330
RGBrgb(162, 163, 48)
HSLhsl(61, 55%, 41%)
HSVhsv(61, 71%, 64%)
CMYKcmyk(0.6%, 0%, 70.6%, 36.1%)
CIE-LABlab(65.03, -14.50, 56.39)
CIE-LCHlch(65.03, 58.23, 104.42°)
OKLaboklab(69.36% -0.0454 0.1254)
OKLCHoklch(69.36% 0.133 109.9)
XYZxyz(28.5320, 34.0900, 7.8728)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A330 #3130A3
analogous
#A36B30 #A2A330 #69A330
triadic
#A2A330 #30A2A3 #A330A2
tetradic
#A2A330 #30A36B #3130A3 #A33069
square
#A2A330 #30A36B #3130A3 #A33069
split-complementary
#A2A330 #3069A3 #6B30A3
monochromatic
#444414 #737422 #A2A330 #C8C947 #D6D777

Accessibility & contrast

On white

2.69
#A2A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A2A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A330
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A330#FFFFFF#000000##000000
##A2A3301.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#AD998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a330;
/* rgb */ color: rgb(162, 163, 48);
/* oklch */ color: oklch(69.4% 0.133 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1be70',
    500: '#a2a330',
    950: '#000000',
  },
}
SCSS
$custom: #a2a330;
$custom-light: #c1be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a330",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 60.522,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.13341,
    "h": 109.9
  },
  "luminance": 0.34089
}

Semantic roles & 50–950 ramp

primary
#A2A330
secondary
#7170BF
accent
#4ADE4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A330

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

Preview Lab → · Contrast checker → · Palette generator →

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