#A5A03E#A5A03E

#A5A03E is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.119 H 106.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A5A03E
RGBrgb(165, 160, 62)
HSLhsl(57, 45%, 45%)
HSVhsv(57, 62%, 65%)
CMYKcmyk(0%, 3%, 62.4%, 35.3%)
CIE-LABlab(64.56, -10.78, 50.20)
CIE-LCHlch(64.56, 51.34, 102.12°)
OKLaboklab(69.07% -0.0336 0.1145)
OKLCHoklch(69.07% 0.119 106.4)
XYZxyz(28.9583, 33.4897, 9.4952)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A03E #3E43A5
analogous
#A56C3E #A5A03E #77A53E
triadic
#A5A03E #3EA5A0 #A03EA5
tetradic
#A5A03E #3EA56C #3E43A5 #A53E77
square
#A5A03E #3EA56C #3E43A5 #A53E77
split-complementary
#A5A03E #3E77A5 #6C3EA5
monochromatic
#4C4A1D #79752D #A5A03E #C2BE5E #D3D08A

Accessibility & contrast

On white

2.73
#A5A03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A5A03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A03E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A03E#FFFFFF#000000##000000
##A5A03E1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A32
Deuteranopia (green-blind)
#AF9E44
Tritanopia (blue-blind)
#B0968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a03e;
/* rgb */ color: rgb(165, 160, 62);
/* oklch */ color: oklch(69.1% 0.119 106.4);
Tailwind
colors: {
  custom: {
    50: '#c2bb78',
    500: '#a5a03e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a03e;
$custom-light: #c2bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a03e",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 57.087,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69073,
    "c": 0.11937,
    "h": 106.4
  },
  "luminance": 0.33489
}

Semantic roles & 50–950 ramp

primary
#A5A03E
secondary
#8184BE
accent
#59D553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A5A03E

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

Preview Lab → · Contrast checker → · Palette generator →

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