#A2B047#A2B047

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

Color values

HEX#A2B047
RGBrgb(162, 176, 71)
HSLhsl(68, 43%, 48%)
HSVhsv(68, 60%, 69%)
CMYKcmyk(8%, 0%, 59.7%, 31%)
CIE-LABlab(68.89, -19.64, 50.84)
CIE-LCHlch(68.89, 54.50, 111.13°)
OKLaboklab(72.5% -0.0575 0.1172)
OKLCHoklch(72.5% 0.131 116.1)
XYZxyz(31.5636, 39.1874, 11.8612)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B047 #5547B0
analogous
#B08947 #A2B047 #6DB047
triadic
#A2B047 #47A2B0 #B047A2
tetradic
#A2B047 #47B089 #5547B0 #B0476D
square
#A2B047 #47B089 #5547B0 #B0476D
split-complementary
#A2B047 #476DB0 #8947B0
monochromatic
#525924 #7A8435 #A2B047 #BAC56F #CFD79B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B047#FFFFFF#000000##000000
##A2B0471.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)
#BBA73B
Deuteranopia (green-blind)
#BAA94E
Tritanopia (blue-blind)
#ABA79A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b047;
/* rgb */ color: rgb(162, 176, 71);
/* oklch */ color: oklch(72.5% 0.131 116.1);
Tailwind
colors: {
  custom: {
    50: '#c0c77e',
    500: '#a2b047',
    950: '#000000',
  },
}
SCSS
$custom: #a2b047;
$custom-light: #c0c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b047",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 68,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.725,
    "c": 0.13053,
    "h": 116.1
  },
  "luminance": 0.39187
}

Semantic roles & 50–950 ramp

primary
#A2B047
secondary
#9790C3
accent
#56D266
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2B047

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

Preview Lab → · Contrast checker → · Palette generator →

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