#A2B833#A2B833

#A2B833 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.155 H 118.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A2B833
RGBrgb(162, 184, 51)
HSLhsl(70, 57%, 46%)
HSVhsv(70, 72%, 72%)
CMYKcmyk(12%, 0%, 72.3%, 27.8%)
CIE-LABlab(71.01, -24.91, 61.13)
CIE-LCHlch(71.01, 66.01, 112.17°)
OKLaboklab(74.16% -0.0741 0.1359)
OKLCHoklch(74.16% 0.155 118.6)
XYZxyz(32.6390, 42.2016, 9.5576)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B833 #4933B8
analogous
#B88B33 #A2B833 #5FB833
triadic
#A2B833 #33A2B8 #B833A2
tetradic
#A2B833 #33B88B #4933B8 #B8335F
square
#A2B833 #33B88B #4933B8 #B8335F
split-complementary
#A2B833 #335FB8 #8B33B8
monochromatic
#4E5818 #788826 #A2B833 #BDD158 #D0DE88

Accessibility & contrast

On white

2.22
#A2B833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A2B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B833
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B833#FFFFFF#000000##000000
##A2B8331.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1A
Deuteranopia (green-blind)
#C2AE3E
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b833;
/* rgb */ color: rgb(162, 184, 51);
/* oklch */ color: oklch(74.2% 0.155 118.6);
Tailwind
colors: {
  custom: {
    50: '#c1cd74',
    500: '#a2b833',
    950: '#000000',
  },
}
SCSS
$custom: #a2b833;
$custom-light: #c1cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b833",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 69.925,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74156,
    "c": 0.15482,
    "h": 118.6
  },
  "luminance": 0.42201
}

Semantic roles & 50–950 ramp

primary
#A2B833
secondary
#8B7FC8
accent
#48E061
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B833

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

Preview Lab → · Contrast checker → · Palette generator →

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