#A2A233#A2A233

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

Color values

HEX#A2A233
RGBrgb(162, 162, 51)
HSLhsl(60, 52%, 42%)
HSVhsv(60, 69%, 64%)
CMYKcmyk(0%, 0%, 68.5%, 36.5%)
CIE-LABlab(64.77, -13.82, 54.97)
CIE-LCHlch(64.77, 56.68, 104.11°)
OKLaboklab(69.16% -0.0432 0.123)
OKLCHoklch(69.16% 0.13 109.4)
XYZxyz(28.4191, 33.7619, 8.1510)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A233 #3333A2
analogous
#A26B33 #A2A233 #6BA233
triadic
#A2A233 #33A2A2 #A233A2
tetradic
#A2A233 #33A26B #3333A2 #A2336B
square
#A2A233 #33A26B #3333A2 #A2336B
split-complementary
#A2A233 #336BA2 #6B33A2
monochromatic
#454516 #737324 #A2A233 #C7C74C #D5D57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A233#FFFFFF#000000##000000
##A2A2331.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)
#AF9B22
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a233;
/* rgb */ color: rgb(162, 162, 51);
/* oklch */ color: oklch(69.2% 0.130 109.4);
Tailwind
colors: {
  custom: {
    50: '#c1bd72',
    500: '#a2a233',
    950: '#000000',
  },
}
SCSS
$custom: #a2a233;
$custom-light: #c1bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a233",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69157,
    "c": 0.13033,
    "h": 109.4
  },
  "luminance": 0.33761
}

Semantic roles & 50–950 ramp

primary
#A2A233
secondary
#7373BE
accent
#4CDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A233

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

Preview Lab → · Contrast checker → · Palette generator →

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