#A5A830#A5A830

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

Color values

HEX#A5A830
RGBrgb(165, 168, 48)
HSLhsl(62, 56%, 42%)
HSVhsv(62, 71%, 66%)
CMYKcmyk(1.8%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.69, -15.77, 58.09)
CIE-LCHlch(66.69, 60.19, 105.19°)
OKLaboklab(70.74% -0.0492 0.1289)
OKLCHoklch(70.74% 0.138 110.9)
XYZxyz(30.0542, 36.2188, 8.2035)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A830 #3330A8
analogous
#A86F30 #A5A830 #69A830
triadic
#A5A830 #30A5A8 #A830A5
tetradic
#A5A830 #30A86F #3330A8 #A83069
square
#A5A830 #30A86F #3330A8 #A83069
split-complementary
#A5A830 #3069A8 #6F30A8
monochromatic
#484915 #767822 #A5A830 #C8CB4A #D6D97A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A830#FFFFFF#000000##000000
##A5A8301.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)
#B5A01B
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#B19D91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a830;
/* rgb */ color: rgb(165, 168, 48);
/* oklch */ color: oklch(70.7% 0.138 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c171',
    500: '#a5a830',
    950: '#000000',
  },
}
SCSS
$custom: #a5a830;
$custom-light: #c3c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a830",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 61.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7074,
    "c": 0.13798,
    "h": 110.9
  },
  "luminance": 0.36218
}

Semantic roles & 50–950 ramp

primary
#A5A830
secondary
#7573C1
accent
#49DF4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A830

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

Preview Lab → · Contrast checker → · Palette generator →

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