#A2B045#A2B045

#A2B045 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.132 H 116.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A2B045
RGBrgb(162, 176, 69)
HSLhsl(68, 44%, 48%)
HSVhsv(68, 61%, 69%)
CMYKcmyk(8%, 0%, 60.8%, 31%)
CIE-LABlab(68.87, -19.80, 51.71)
CIE-LCHlch(68.87, 55.37, 110.95°)
OKLaboklab(72.48% -0.0581 0.1188)
OKLCHoklch(72.48% 0.132 116.1)
XYZxyz(31.5004, 39.1621, 11.5287)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B045 #5345B0
analogous
#B08845 #A2B045 #6DB045
triadic
#A2B045 #45A2B0 #B045A2
tetradic
#A2B045 #45B088 #5345B0 #B0456D
square
#A2B045 #45B088 #5345B0 #B0456D
split-complementary
#A2B045 #456DB0 #8845B0
monochromatic
#515823 #7A8434 #A2B045 #BAC66D #CFD799

Accessibility & contrast

On white

2.38
#A2B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A2B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B045
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B045#FFFFFF#000000##000000
##A2B0451.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#BAA94C
Tritanopia (blue-blind)
#ABA799
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b045;
/* rgb */ color: rgb(162, 176, 69);
/* oklch */ color: oklch(72.5% 0.132 116.1);
Tailwind
colors: {
  custom: {
    50: '#c0c77d',
    500: '#a2b045',
    950: '#000000',
  },
}
SCSS
$custom: #a2b045;
$custom-light: #c0c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b045",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 67.85,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7248,
    "c": 0.13224,
    "h": 116.1
  },
  "luminance": 0.39162
}

Semantic roles & 50–950 ramp

primary
#A2B045
secondary
#958EC3
accent
#54D365
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B045

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

Preview Lab → · Contrast checker → · Palette generator →

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