#A2B325#A2B325

#A2B325 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.157 H 116.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A2B325
RGBrgb(162, 179, 37)
HSLhsl(67, 66%, 42%)
HSVhsv(67, 79%, 70%)
CMYKcmyk(9.5%, 0%, 79.3%, 29.8%)
CIE-LABlab(69.51, -23.09, 64.26)
CIE-LCHlch(69.51, 68.28, 109.76°)
OKLaboklab(72.93% -0.0703 0.1401)
OKLCHoklch(72.93% 0.157 116.6)
XYZxyz(31.3552, 40.0556, 7.8296)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B325 #3625B3
analogous
#B37D25 #A2B325 #5BB325
triadic
#A2B325 #25A2B3 #B325A2
tetradic
#A2B325 #25B37D #3625B3 #B3255B
square
#A2B325 #25B37D #3625B3 #B3255B
split-complementary
#A2B325 #255BB3 #7D25B3
monochromatic
#464E10 #74801B #A2B325 #C5D73E #D4E271

Accessibility & contrast

On white

2.33
#A2B325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A2B325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B325
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B325#FFFFFF#000000##000000
##A2B3251.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b325;
/* rgb */ color: rgb(162, 179, 37);
/* oklch */ color: oklch(72.9% 0.157 116.6);
Tailwind
colors: {
  custom: {
    50: '#c1c96d',
    500: '#a2b325',
    950: '#000000',
  },
}
SCSS
$custom: #a2b325;
$custom-light: #c1c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b325",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 37
  },
  "hsl": {
    "h": 67.183,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.15676,
    "h": 116.6
  },
  "luminance": 0.40055
}

Semantic roles & 50–950 ramp

primary
#A2B325
secondary
#776BC8
accent
#3FE953
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B325

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

Preview Lab → · Contrast checker → · Palette generator →

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