#A2B337#A2B337

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

Color values

HEX#A2B337
RGBrgb(162, 179, 55)
HSLhsl(68, 53%, 46%)
HSVhsv(68, 69%, 70%)
CMYKcmyk(9.5%, 0%, 69.3%, 29.8%)
CIE-LABlab(69.61, -22.23, 58.27)
CIE-LCHlch(69.61, 62.37, 110.88°)
OKLaboklab(73.04% -0.0663 0.1306)
OKLCHoklch(73.04% 0.146 116.9)
XYZxyz(31.7107, 40.1978, 9.7021)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B337 #4837B3
analogous
#B38637 #A2B337 #64B337
triadic
#A2B337 #37A2B3 #B337A2
tetradic
#A2B337 #37B386 #4837B3 #B33764
square
#A2B337 #37B386 #4837B3 #B33764
split-complementary
#A2B337 #3764B3 #8637B3
monochromatic
#4D551A #788429 #A2B337 #BDCD5B #D0DB8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B337#FFFFFF#000000##000000
##A2B3371.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)
#BFAA23
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b337;
/* rgb */ color: rgb(162, 179, 55);
/* oklch */ color: oklch(73.0% 0.146 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1c975',
    500: '#a2b337',
    950: '#000000',
  },
}
SCSS
$custom: #a2b337;
$custom-light: #c1c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b337",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 68.226,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73039,
    "c": 0.14645,
    "h": 116.9
  },
  "luminance": 0.40197
}

Semantic roles & 50–950 ramp

primary
#A2B337
secondary
#8A81C5
accent
#4BDC5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B337

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

Preview Lab → · Contrast checker → · Palette generator →

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