#A5A730#A5A730

#A5A730 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.137 H 110.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A5A730
RGBrgb(165, 167, 48)
HSLhsl(61, 55%, 42%)
HSVhsv(61, 71%, 65%)
CMYKcmyk(1.2%, 0%, 71.3%, 34.5%)
CIE-LABlab(66.41, -15.26, 57.82)
CIE-LCHlch(66.41, 59.80, 104.78°)
OKLaboklab(70.52% -0.0477 0.1283)
OKLCHoklch(70.52% 0.137 110.4)
XYZxyz(29.8703, 35.8510, 8.1422)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A730 #3230A7
analogous
#A76D30 #A5A730 #6AA730
triadic
#A5A730 #30A5A7 #A730A5
tetradic
#A5A730 #30A76D #3230A7 #A7306A
square
#A5A730 #30A76D #3230A7 #A7306A
split-complementary
#A5A730 #306AA7 #6D30A7
monochromatic
#474815 #767722 #A5A730 #C9CB49 #D7D879

Accessibility & contrast

On white

2.57
#A5A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A5A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A730
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A730#FFFFFF#000000##000000
##A5A7301.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01B
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#B19C90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a730;
/* rgb */ color: rgb(165, 167, 48);
/* oklch */ color: oklch(70.5% 0.137 110.4);
Tailwind
colors: {
  custom: {
    50: '#c3c071',
    500: '#a5a730',
    950: '#000000',
  },
}
SCSS
$custom: #a5a730;
$custom-light: #c3c071;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a730",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 61.008,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70515,
    "c": 0.13693,
    "h": 110.4
  },
  "luminance": 0.3585
}

Semantic roles & 50–950 ramp

primary
#A5A730
secondary
#7372C1
accent
#49DF4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A730

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

Preview Lab → · Contrast checker → · Palette generator →

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