#A2B530#A2B530

#A2B530 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.153 H 117.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A2B530
RGBrgb(162, 181, 48)
HSLhsl(69, 58%, 45%)
HSVhsv(69, 73%, 71%)
CMYKcmyk(10.5%, 0%, 73.5%, 29%)
CIE-LABlab(70.14, -23.59, 61.34)
CIE-LCHlch(70.14, 65.72, 111.04°)
OKLaboklab(73.45% -0.0708 0.1359)
OKLCHoklch(73.45% 0.153 117.5)
XYZxyz(31.9584, 40.9429, 9.0149)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B530 #4330B5
analogous
#B58530 #A2B530 #60B530
triadic
#A2B530 #30A2B5 #B530A2
tetradic
#A2B530 #30B585 #4330B5 #B53060
square
#A2B530 #30B585 #4330B5 #B53060
split-complementary
#A2B530 #3060B5 #8530B5
monochromatic
#4B5416 #778523 #A2B530 #BFD151 #D1DE82

Accessibility & contrast

On white

2.29
#A2B530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A2B530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B530
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B530#FFFFFF#000000##000000
##A2B5301.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB15
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b530;
/* rgb */ color: rgb(162, 181, 48);
/* oklch */ color: oklch(73.4% 0.153 117.5);
Tailwind
colors: {
  custom: {
    50: '#c1cb72',
    500: '#a2b530',
    950: '#000000',
  },
}
SCSS
$custom: #a2b530;
$custom-light: #c1cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b530",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 48
  },
  "hsl": {
    "h": 68.571,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73448,
    "c": 0.15318,
    "h": 117.5
  },
  "luminance": 0.40943
}

Semantic roles & 50–950 ramp

primary
#A2B530
secondary
#857AC7
accent
#46E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B530

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

Preview Lab → · Contrast checker → · Palette generator →

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