#A2B335#A2B335

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

Color values

HEX#A2B335
RGBrgb(162, 179, 53)
HSLhsl(68, 54%, 45%)
HSVhsv(68, 70%, 70%)
CMYKcmyk(9.5%, 0%, 70.4%, 29.8%)
CIE-LABlab(69.60, -22.34, 59.02)
CIE-LCHlch(69.60, 63.10, 110.73°)
OKLaboklab(73.02% -0.0668 0.1318)
OKLCHoklch(73.02% 0.148 116.9)
XYZxyz(31.6637, 40.1790, 9.4548)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B335 #4635B3
analogous
#B38535 #A2B335 #63B335
triadic
#A2B335 #35A2B3 #B335A2
tetradic
#A2B335 #35B385 #4635B3 #B33563
square
#A2B335 #35B385 #4635B3 #B33563
split-complementary
#A2B335 #3563B3 #8535B3
monochromatic
#4D5519 #778427 #A2B335 #BECD58 #D0DB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B335#FFFFFF#000000##000000
##A2B3351.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)
#BFA920
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b335;
/* rgb */ color: rgb(162, 179, 53);
/* oklch */ color: oklch(73.0% 0.148 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1c974',
    500: '#a2b335',
    950: '#000000',
  },
}
SCSS
$custom: #a2b335;
$custom-light: #c1c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b335",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 68.095,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73024,
    "c": 0.14778,
    "h": 116.9
  },
  "luminance": 0.40179
}

Semantic roles & 50–950 ramp

primary
#A2B335
secondary
#887FC5
accent
#4ADE5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B335

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

Preview Lab → · Contrast checker → · Palette generator →

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