#A2A138#A2A138

#A2A138 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.126 H 108.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A2A138
RGBrgb(162, 161, 56)
HSLhsl(59, 49%, 43%)
HSVhsv(59, 65%, 64%)
CMYKcmyk(0%, 0.6%, 65.4%, 36.5%)
CIE-LABlab(64.53, -13.00, 52.69)
CIE-LCHlch(64.53, 54.27, 103.86°)
OKLaboklab(68.97% -0.0404 0.119)
OKLCHoklch(68.97% 0.126 108.8)
XYZxyz(28.3599, 33.4575, 8.7046)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A138 #3839A2
analogous
#A26C38 #A2A138 #6EA238
triadic
#A2A138 #38A2A1 #A138A2
tetradic
#A2A138 #38A26C #3839A2 #A2386E
square
#A2A138 #38A26C #3839A2 #A2386E
split-complementary
#A2A138 #386EA2 #6C38A2
monochromatic
#474719 #757428 #A2A138 #C4C353 #D3D381

Accessibility & contrast

On white

2.73
#A2A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A2A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A138
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A138#FFFFFF#000000##000000
##A2A1381.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#AD978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a138;
/* rgb */ color: rgb(162, 161, 56);
/* oklch */ color: oklch(69.0% 0.126 108.8);
Tailwind
colors: {
  custom: {
    50: '#c0bc74',
    500: '#a2a138',
    950: '#000000',
  },
}
SCSS
$custom: #a2a138;
$custom-light: #c0bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a138",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 59.434,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68974,
    "c": 0.12563,
    "h": 108.8
  },
  "luminance": 0.33457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2A138

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

Preview Lab → · Contrast checker → · Palette generator →

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