#A2A238#A2A238

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

Color values

HEX#A2A238
RGBrgb(162, 162, 56)
HSLhsl(60, 49%, 43%)
HSVhsv(60, 65%, 64%)
CMYKcmyk(0%, 0%, 65.4%, 36.5%)
CIE-LABlab(64.81, -13.52, 52.98)
CIE-LCHlch(64.81, 54.68, 104.32°)
OKLaboklab(69.2% -0.0419 0.1196)
OKLCHoklch(69.2% 0.127 109.3)
XYZxyz(28.5354, 33.8084, 8.7631)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A238 #3838A2
analogous
#A26D38 #A2A238 #6DA238
triadic
#A2A238 #38A2A2 #A238A2
tetradic
#A2A238 #38A26D #3838A2 #A2386D
square
#A2A238 #38A26D #3838A2 #A2386D
split-complementary
#A2A238 #386DA2 #6D38A2
monochromatic
#474719 #757528 #A2A238 #C4C453 #D3D381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A238#FFFFFF#000000##000000
##A2A2381.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)
#AF9B2A
Deuteranopia (green-blind)
#B09F3F
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a238;
/* rgb */ color: rgb(162, 162, 56);
/* oklch */ color: oklch(69.2% 0.127 109.3);
Tailwind
colors: {
  custom: {
    50: '#c0bd74',
    500: '#a2a238',
    950: '#000000',
  },
}
SCSS
$custom: #a2a238;
$custom-light: #c0bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a238",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69198,
    "c": 0.12669,
    "h": 109.3
  },
  "luminance": 0.33808
}

Semantic roles & 50–950 ramp

primary
#A2A238
secondary
#7979BD
accent
#50D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A238

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

Preview Lab → · Contrast checker → · Palette generator →

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