#A2B246#A2B246

#A2B246 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.134 H 116.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A2B246
RGBrgb(162, 178, 70)
HSLhsl(69, 44%, 49%)
HSVhsv(69, 61%, 70%)
CMYKcmyk(9%, 0%, 60.7%, 30.2%)
CIE-LABlab(69.44, -20.72, 51.90)
CIE-LCHlch(69.44, 55.88, 111.77°)
OKLaboklab(72.94% -0.0606 0.1193)
OKLCHoklch(72.94% 0.134 116.9)
XYZxyz(31.9268, 39.9647, 11.8252)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B246 #5646B2
analogous
#B28C46 #A2B246 #6CB246
triadic
#A2B246 #46A2B2 #B246A2
tetradic
#A2B246 #46B28C #5646B2 #B2466C
square
#A2B246 #46B28C #5646B2 #B2466C
split-complementary
#A2B246 #466CB2 #8C46B2
monochromatic
#525A23 #7A8635 #A2B246 #B9C66F #CFD89B

Accessibility & contrast

On white

2.34
#A2B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A2B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B246
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B246#FFFFFF#000000##000000
##A2B2461.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#BCAA4D
Tritanopia (blue-blind)
#ABA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b246;
/* rgb */ color: rgb(162, 178, 70);
/* oklch */ color: oklch(72.9% 0.134 116.9);
Tailwind
colors: {
  custom: {
    50: '#c0c97e',
    500: '#a2b246',
    950: '#000000',
  },
}
SCSS
$custom: #a2b246;
$custom-light: #c0c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b246",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 68.889,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72944,
    "c": 0.13383,
    "h": 116.9
  },
  "luminance": 0.39964
}

Semantic roles & 50–950 ramp

primary
#A2B246
secondary
#9890C4
accent
#55D367
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B246

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

Preview Lab → · Contrast checker → · Palette generator →

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