#A2B135#A2B135

#A2B135 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.145 H 116.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A2B135
RGBrgb(162, 177, 53)
HSLhsl(67, 54%, 45%)
HSVhsv(67, 70%, 69%)
CMYKcmyk(8.5%, 0%, 70.1%, 30.6%)
CIE-LABlab(69.03, -21.34, 58.45)
CIE-LCHlch(69.03, 62.23, 110.06°)
OKLaboklab(72.57% -0.0641 0.1306)
OKLCHoklch(72.57% 0.145 116.1)
XYZxyz(31.2658, 39.3831, 9.3221)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B135 #4435B1
analogous
#B18235 #A2B135 #64B135
triadic
#A2B135 #35A2B1 #B135A2
tetradic
#A2B135 #35B182 #4435B1 #B13564
square
#A2B135 #35B182 #4435B1 #B13564
split-complementary
#A2B135 #3564B1 #8235B1
monochromatic
#4C5319 #778227 #A2B135 #BECD57 #D0DB86

Accessibility & contrast

On white

2.37
#A2B135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A2B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B135
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B135#FFFFFF#000000##000000
##A2B1351.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA821
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#ACA799
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b135;
/* rgb */ color: rgb(162, 177, 53);
/* oklch */ color: oklch(72.6% 0.145 116.1);
Tailwind
colors: {
  custom: {
    50: '#c1c874',
    500: '#a2b135',
    950: '#000000',
  },
}
SCSS
$custom: #a2b135;
$custom-light: #c1c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b135",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 67.258,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.14548,
    "h": 116.1
  },
  "luminance": 0.39383
}

Semantic roles & 50–950 ramp

primary
#A2B135
secondary
#867DC4
accent
#4BDD5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B135

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

Preview Lab → · Contrast checker → · Palette generator →

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