#A2B046#A2B046

#A2B046 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.83:1 contrast (WCAG AA passes).

Color values

HEX#A2B046
RGBrgb(162, 176, 70)
HSLhsl(68, 43%, 48%)
HSVhsv(68, 60%, 69%)
CMYKcmyk(8%, 0%, 60.2%, 31%)
CIE-LABlab(68.88, -19.72, 51.27)
CIE-LCHlch(68.88, 54.94, 111.04°)
OKLaboklab(72.49% -0.0578 0.118)
OKLCHoklch(72.49% 0.131 116.1)
XYZxyz(31.5317, 39.1747, 11.6935)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B046 #5446B0
analogous
#B08946 #A2B046 #6DB046
triadic
#A2B046 #46A2B0 #B046A2
tetradic
#A2B046 #46B089 #5446B0 #B0466D
square
#A2B046 #46B089 #5446B0 #B0466D
split-complementary
#A2B046 #466DB0 #8946B0
monochromatic
#515823 #7A8435 #A2B046 #BAC56E #CFD79A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B046#FFFFFF#000000##000000
##A2B0461.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)
#BBA73A
Deuteranopia (green-blind)
#BAA94D
Tritanopia (blue-blind)
#ABA799
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b046;
/* rgb */ color: rgb(162, 176, 70);
/* oklch */ color: oklch(72.5% 0.131 116.1);
Tailwind
colors: {
  custom: {
    50: '#c0c77e',
    500: '#a2b046',
    950: '#000000',
  },
}
SCSS
$custom: #a2b046;
$custom-light: #c0c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b046",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 70
  },
  "hsl": {
    "h": 67.925,
    "s": 43.089,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7249,
    "c": 0.13139,
    "h": 116.1
  },
  "luminance": 0.39174
}

Semantic roles & 50–950 ramp

primary
#A2B046
secondary
#968FC3
accent
#55D366
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B046

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

Preview Lab → · Contrast checker → · Palette generator →

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