#A2A230#A2A230

#A2A230 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.132 H 109.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A2A230
RGBrgb(162, 162, 48)
HSLhsl(60, 54%, 41%)
HSVhsv(60, 70%, 64%)
CMYKcmyk(0%, 0%, 70.4%, 36.5%)
CIE-LABlab(64.75, -13.98, 56.12)
CIE-LCHlch(64.75, 57.83, 103.99°)
OKLaboklab(69.13% -0.044 0.1248)
OKLCHoklch(69.13% 0.132 109.4)
XYZxyz(28.3551, 33.7363, 7.8138)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A230 #3030A2
analogous
#A26930 #A2A230 #69A230
triadic
#A2A230 #30A2A2 #A230A2
tetradic
#A2A230 #30A269 #3030A2 #A23069
square
#A2A230 #30A269 #3030A2 #A23069
split-complementary
#A2A230 #3069A2 #6930A2
monochromatic
#444414 #737322 #A2A230 #C8C847 #D6D676

Accessibility & contrast

On white

2.71
#A2A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A2A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A230
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A230#FFFFFF#000000##000000
##A2A2301.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#AE988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a230;
/* rgb */ color: rgb(162, 162, 48);
/* oklch */ color: oklch(69.1% 0.132 109.4);
Tailwind
colors: {
  custom: {
    50: '#c1bd70',
    500: '#a2a230',
    950: '#000000',
  },
}
SCSS
$custom: #a2a230;
$custom-light: #c1bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a230",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69134,
    "c": 0.13237,
    "h": 109.4
  },
  "luminance": 0.33735
}

Semantic roles & 50–950 ramp

primary
#A2A230
secondary
#6F6FBE
accent
#4ADE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A230

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

Preview Lab → · Contrast checker → · Palette generator →

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