#A2B333#A2B333

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

Color values

HEX#A2B333
RGBrgb(162, 179, 51)
HSLhsl(68, 56%, 45%)
HSVhsv(68, 72%, 70%)
CMYKcmyk(9.5%, 0%, 71.5%, 29.8%)
CIE-LABlab(69.58, -22.45, 59.74)
CIE-LCHlch(69.58, 63.82, 110.59°)
OKLaboklab(73.01% -0.0673 0.133)
OKLCHoklch(73.01% 0.149 116.9)
XYZxyz(31.6187, 40.1610, 9.2175)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B333 #4433B3
analogous
#B38433 #A2B333 #62B333
triadic
#A2B333 #33A2B3 #B333A2
tetradic
#A2B333 #33B384 #4433B3 #B33362
square
#A2B333 #33B384 #4433B3 #B33362
split-complementary
#A2B333 #3362B3 #8433B3
monochromatic
#4C5418 #778325 #A2B333 #BECE55 #D0DC84

Accessibility & contrast

On white

2.33
#A2B333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#A2B333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B333
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B333#FFFFFF#000000##000000
##A2B3331.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b333;
/* rgb */ color: rgb(162, 179, 51);
/* oklch */ color: oklch(73.0% 0.149 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1c973',
    500: '#a2b333',
    950: '#000000',
  },
}
SCSS
$custom: #a2b333;
$custom-light: #c1c973;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b333",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 67.969,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.14906,
    "h": 116.9
  },
  "luminance": 0.40161
}

Semantic roles & 50–950 ramp

primary
#A2B333
secondary
#867CC6
accent
#49DF5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B333

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

Preview Lab → · Contrast checker → · Palette generator →

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