#A2AB30#A2AB30

#A2AB30 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.142 H 113.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A2AB30
RGBrgb(162, 171, 48)
HSLhsl(64, 56%, 43%)
HSVhsv(64, 72%, 67%)
CMYKcmyk(5.3%, 0%, 71.9%, 32.9%)
CIE-LABlab(67.29, -18.60, 58.60)
CIE-LCHlch(67.29, 61.48, 107.61°)
OKLaboklab(71.17% -0.0569 0.1301)
OKLCHoklch(71.17% 0.142 113.6)
XYZxyz(29.9976, 37.0212, 8.3613)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB30 #3930AB
analogous
#AB7630 #A2AB30 #65AB30
triadic
#A2AB30 #30A2AB #AB30A2
tetradic
#A2AB30 #30AB76 #3930AB #AB3065
square
#A2AB30 #30AB76 #3930AB #AB3065
split-complementary
#A2AB30 #3065AB #7630AB
monochromatic
#474B15 #757B23 #A2AB30 #C3CD4C #D3DA7B

Accessibility & contrast

On white

2.50
#A2AB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A2AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB30
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB30#FFFFFF#000000##000000
##A2AB301.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab30;
/* rgb */ color: rgb(162, 171, 48);
/* oklch */ color: oklch(71.2% 0.142 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c371',
    500: '#a2ab30',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab30;
$custom-light: #c1c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab30",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 64.39,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71166,
    "c": 0.14198,
    "h": 113.6
  },
  "luminance": 0.37021
}

Semantic roles & 50–950 ramp

primary
#A2AB30
secondary
#7A74C3
accent
#48DF53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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