#A5A82B#A5A82B

#A5A82B is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.141 H 110.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A5A82B
RGBrgb(165, 168, 43)
HSLhsl(61, 59%, 41%)
HSVhsv(61, 74%, 66%)
CMYKcmyk(1.8%, 0%, 74.4%, 34.1%)
CIE-LABlab(66.66, -16.01, 59.84)
CIE-LCHlch(66.66, 61.95, 104.98°)
OKLaboklab(70.71% -0.0503 0.1317)
OKLCHoklch(70.71% 0.141 110.9)
XYZxyz(29.9568, 36.1798, 7.6904)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A82B #2E2BA8
analogous
#A86D2B #A5A82B #67A82B
triadic
#A5A82B #2BA5A8 #A82BA5
tetradic
#A5A82B #2BA86D #2E2BA8 #A82B67
square
#A5A82B #2BA86D #2E2BA8 #A82B67
split-complementary
#A5A82B #2B67A8 #6D2BA8
monochromatic
#454712 #75771F #A5A82B #CBCF42 #D9DB72

Accessibility & contrast

On white

2.55
#A5A82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#A5A82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A82B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A82B#FFFFFF#000000##000000
##A5A82B1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A010
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a82b;
/* rgb */ color: rgb(165, 168, 43);
/* oklch */ color: oklch(70.7% 0.141 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16e',
    500: '#a5a82b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a82b;
$custom-light: #c3c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a82b",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 61.44,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.141,
    "h": 110.9
  },
  "luminance": 0.36179
}

Semantic roles & 50–950 ramp

primary
#A5A82B
secondary
#6F6CC2
accent
#45E249
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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