#A2B336#A2B336

#A2B336 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.147 H 116.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A2B336
RGBrgb(162, 179, 54)
HSLhsl(68, 54%, 46%)
HSVhsv(68, 70%, 70%)
CMYKcmyk(9.5%, 0%, 69.8%, 29.8%)
CIE-LABlab(69.60, -22.28, 58.65)
CIE-LCHlch(69.60, 62.74, 110.80°)
OKLaboklab(73.03% -0.0666 0.1312)
OKLCHoklch(73.03% 0.147 116.9)
XYZxyz(31.6870, 40.1883, 9.5772)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B336 #4736B3
analogous
#B38536 #A2B336 #63B336
triadic
#A2B336 #36A2B3 #B336A2
tetradic
#A2B336 #36B385 #4736B3 #B33663
square
#A2B336 #36B385 #4736B3 #B33663
split-complementary
#A2B336 #3663B3 #8536B3
monochromatic
#4D551A #778428 #A2B336 #BDCD59 #D0DB88

Accessibility & contrast

On white

2.32
#A2B336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A2B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B336
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B336#FFFFFF#000000##000000
##A2B3361.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA22
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b336;
/* rgb */ color: rgb(162, 179, 54);
/* oklch */ color: oklch(73.0% 0.147 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1c975',
    500: '#a2b336',
    950: '#000000',
  },
}
SCSS
$custom: #a2b336;
$custom-light: #c1c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b336",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 68.16,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73032,
    "c": 0.14712,
    "h": 116.9
  },
  "luminance": 0.40188
}

Semantic roles & 50–950 ramp

primary
#A2B336
secondary
#8980C5
accent
#4BDD5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B336

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

Preview Lab → · Contrast checker → · Palette generator →

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