#A2A236#A2A236

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

Color values

HEX#A2A236
RGBrgb(162, 162, 54)
HSLhsl(60, 50%, 42%)
HSVhsv(60, 67%, 64%)
CMYKcmyk(0%, 0%, 66.7%, 36.5%)
CIE-LABlab(64.79, -13.64, 53.79)
CIE-LCHlch(64.79, 55.49, 104.23°)
OKLaboklab(69.18% -0.0424 0.121)
OKLCHoklch(69.18% 0.128 109.3)
XYZxyz(28.4874, 33.7892, 8.5107)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A236 #3636A2
analogous
#A26C36 #A2A236 #6CA236
triadic
#A2A236 #36A2A2 #A236A2
tetradic
#A2A236 #36A26C #3636A2 #A2366C
square
#A2A236 #36A26C #3636A2 #A2366C
split-complementary
#A2A236 #366CA2 #6C36A2
monochromatic
#464617 #747427 #A2A236 #C5C550 #D4D47E

Accessibility & contrast

On white

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

On black

7.76
#A2A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A236
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A236#FFFFFF#000000##000000
##A2A2361.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B27
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a236;
/* rgb */ color: rgb(162, 162, 54);
/* oklch */ color: oklch(69.2% 0.128 109.3);
Tailwind
colors: {
  custom: {
    50: '#c0bd73',
    500: '#a2a236',
    950: '#000000',
  },
}
SCSS
$custom: #a2a236;
$custom-light: #c0bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a236",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69181,
    "c": 0.12819,
    "h": 109.3
  },
  "luminance": 0.33788
}

Semantic roles & 50–950 ramp

primary
#A2A236
secondary
#7777BD
accent
#4EDA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A236

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

Preview Lab → · Contrast checker → · Palette generator →

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