#A2B733#A2B733

#A2B733 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 73.9% C 0.154 H 118.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#A2B733
RGBrgb(162, 183, 51)
HSLhsl(70, 56%, 46%)
HSVhsv(70, 72%, 72%)
CMYKcmyk(11.5%, 0%, 72.1%, 28.2%)
CIE-LABlab(70.72, -24.42, 60.85)
CIE-LCHlch(70.72, 65.57, 111.86°)
OKLaboklab(73.93% -0.0728 0.1353)
OKLCHoklch(73.93% 0.154 118.3)
XYZxyz(32.4320, 41.7877, 9.4886)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B733 #4833B7
analogous
#B78A33 #A2B733 #60B733
triadic
#A2B733 #33A2B7 #B733A2
tetradic
#A2B733 #33B78A #4833B7 #B73360
square
#A2B733 #33B78A #4833B7 #B73360
split-complementary
#A2B733 #3360B7 #8A33B7
monochromatic
#4D5718 #788726 #A2B733 #BDD057 #D0DE87

Accessibility & contrast

On white

2.24
#A2B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#A2B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B733
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B733#FFFFFF#000000##000000
##A2B7331.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1A
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b733;
/* rgb */ color: rgb(162, 183, 51);
/* oklch */ color: oklch(73.9% 0.154 118.3);
Tailwind
colors: {
  custom: {
    50: '#c1cc74',
    500: '#a2b733',
    950: '#000000',
  },
}
SCSS
$custom: #a2b733;
$custom-light: #c1cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b733",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 69.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73927,
    "c": 0.15367,
    "h": 118.3
  },
  "luminance": 0.41787
}

Semantic roles & 50–950 ramp

primary
#A2B733
secondary
#8A7FC7
accent
#48E060
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B733

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

Preview Lab → · Contrast checker → · Palette generator →

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