#A2A42E#A2A42E

#A2A42E is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.136 H 110.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A2A42E
RGBrgb(162, 164, 46)
HSLhsl(61, 56%, 41%)
HSVhsv(61, 72%, 64%)
CMYKcmyk(1.2%, 0%, 72%, 35.7%)
CIE-LABlab(65.30, -15.12, 57.40)
CIE-LCHlch(65.30, 59.36, 104.76°)
OKLaboklab(69.57% -0.0474 0.1272)
OKLCHoklch(69.57% 0.136 110.4)
XYZxyz(28.6699, 34.4303, 7.7197)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A42E #302EA4
analogous
#A46B2E #A2A42E #67A42E
triadic
#A2A42E #2EA2A4 #A42EA2
tetradic
#A2A42E #2EA46B #302EA4 #A42E67
square
#A2A42E #2EA46B #302EA4 #A42E67
split-complementary
#A2A42E #2E67A4 #6B2EA4
monochromatic
#444413 #737421 #A2A42E #C8CB45 #D6D874

Accessibility & contrast

On white

2.66
#A2A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A2A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A42E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A42E#FFFFFF#000000##000000
##A2A42E1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a42e;
/* rgb */ color: rgb(162, 164, 46);
/* oklch */ color: oklch(69.6% 0.136 110.4);
Tailwind
colors: {
  custom: {
    50: '#c1be6f',
    500: '#a2a42e',
    950: '#000000',
  },
}
SCSS
$custom: #a2a42e;
$custom-light: #c1be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a42e",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 61.017,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69569,
    "c": 0.13573,
    "h": 110.4
  },
  "luminance": 0.3443
}

Semantic roles & 50–950 ramp

primary
#A2A42E
secondary
#6F6EC0
accent
#48DF4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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