#A2B339#A2B339

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

Color values

HEX#A2B339
RGBrgb(162, 179, 57)
HSLhsl(68, 52%, 46%)
HSVhsv(68, 68%, 70%)
CMYKcmyk(9.5%, 0%, 68.2%, 29.8%)
CIE-LABlab(69.62, -22.11, 57.51)
CIE-LCHlch(69.62, 61.62, 111.03°)
OKLaboklab(73.06% -0.0658 0.1293)
OKLCHoklch(73.06% 0.145 117)
XYZxyz(31.7596, 40.2174, 9.9597)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B339 #4A39B3
analogous
#B38739 #A2B339 #65B339
triadic
#A2B339 #39A2B3 #B339A2
tetradic
#A2B339 #39B387 #4A39B3 #B33965
square
#A2B339 #39B387 #4A39B3 #B33965
split-complementary
#A2B339 #3965B3 #8739B3
monochromatic
#4E561B #78852A #A2B339 #BCCC5E #CFDA8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B339#FFFFFF#000000##000000
##A2B3391.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)
#BFAA27
Deuteranopia (green-blind)
#BDAB42
Tritanopia (blue-blind)
#ACA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b339;
/* rgb */ color: rgb(162, 179, 57);
/* oklch */ color: oklch(73.1% 0.145 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1c976',
    500: '#a2b339',
    950: '#000000',
  },
}
SCSS
$custom: #a2b339;
$custom-light: #c1c976;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b339",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 68.361,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73055,
    "c": 0.14508,
    "h": 117
  },
  "luminance": 0.40217
}

Semantic roles & 50–950 ramp

primary
#A2B339
secondary
#8C83C5
accent
#4DDB61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B339

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

Preview Lab → · Contrast checker → · Palette generator →

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