#A2B235#A2B235

#A2B235 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.147 H 116.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#A2B235
RGBrgb(162, 178, 53)
HSLhsl(68, 54%, 45%)
HSVhsv(68, 70%, 70%)
CMYKcmyk(9%, 0%, 70.2%, 30.2%)
CIE-LABlab(69.31, -21.84, 58.73)
CIE-LCHlch(69.31, 62.66, 110.40°)
OKLaboklab(72.8% -0.0655 0.1312)
OKLCHoklch(72.8% 0.147 116.5)
XYZxyz(31.4640, 39.7796, 9.3882)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B235 #4535B2
analogous
#B28335 #A2B235 #63B235
triadic
#A2B235 #35A2B2 #B235A2
tetradic
#A2B235 #35B283 #4535B2 #B23563
square
#A2B235 #35B283 #4535B2 #B23563
split-complementary
#A2B235 #3563B2 #8335B2
monochromatic
#4C5419 #778327 #A2B235 #BECD57 #D0DB86

Accessibility & contrast

On white

2.34
#A2B235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#A2B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B235
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B235#FFFFFF#000000##000000
##A2B2351.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA920
Deuteranopia (green-blind)
#BDAA3F
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b235;
/* rgb */ color: rgb(162, 178, 53);
/* oklch */ color: oklch(72.8% 0.147 116.5);
Tailwind
colors: {
  custom: {
    50: '#c1c874',
    500: '#a2b235',
    950: '#000000',
  },
}
SCSS
$custom: #a2b235;
$custom-light: #c1c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b235",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 67.68,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72796,
    "c": 0.14663,
    "h": 116.5
  },
  "luminance": 0.39779
}

Semantic roles & 50–950 ramp

primary
#A2B235
secondary
#877EC5
accent
#4ADD5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B235

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

Preview Lab → · Contrast checker → · Palette generator →

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