#A2B048#A2B048

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

Color values

HEX#A2B048
RGBrgb(162, 176, 72)
HSLhsl(68, 42%, 49%)
HSVhsv(68, 59%, 69%)
CMYKcmyk(8%, 0%, 59.1%, 31%)
CIE-LABlab(68.90, -19.57, 50.40)
CIE-LCHlch(68.90, 54.06, 111.22°)
OKLaboklab(72.51% -0.0572 0.1164)
OKLCHoklch(72.51% 0.13 116.2)
XYZxyz(31.5959, 39.2003, 12.0316)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B048 #5648B0
analogous
#B08A48 #A2B048 #6EB048
triadic
#A2B048 #48A2B0 #B048A2
tetradic
#A2B048 #48B08A #5648B0 #B0486E
square
#A2B048 #48B08A #5648B0 #B0486E
split-complementary
#A2B048 #486EB0 #8A48B0
monochromatic
#525924 #7A8536 #A2B048 #B9C570 #CFD69C

Accessibility & contrast

On white

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

On black

8.84
#A2B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B048
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B048#FFFFFF#000000##000000
##A2B0481.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83C
Deuteranopia (green-blind)
#BAA94E
Tritanopia (blue-blind)
#ABA79A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b048;
/* rgb */ color: rgb(162, 176, 72);
/* oklch */ color: oklch(72.5% 0.130 116.2);
Tailwind
colors: {
  custom: {
    50: '#c0c77f',
    500: '#a2b048',
    950: '#000000',
  },
}
SCSS
$custom: #a2b048;
$custom-light: #c0c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b048",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 68.077,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72511,
    "c": 0.12966,
    "h": 116.2
  },
  "luminance": 0.392
}

Semantic roles & 50–950 ramp

primary
#A2B048
secondary
#9891C3
accent
#56D267
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2B048

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

Preview Lab → · Contrast checker → · Palette generator →

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