#A5A61E#A5A61E

#A5A61E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.145 H 110.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A5A61E
RGBrgb(165, 166, 30)
HSLhsl(60, 69%, 38%)
HSVhsv(60, 82%, 65%)
CMYKcmyk(0.6%, 0%, 81.9%, 34.9%)
CIE-LABlab(66.03, -15.49, 63.25)
CIE-LCHlch(66.03, 65.11, 103.76°)
OKLaboklab(70.19% -0.0499 0.1366)
OKLCHoklch(70.19% 0.145 110.1)
XYZxyz(29.3887, 35.3664, 6.5063)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A61E #1F1EA6
analogous
#A6631E #A5A61E #61A61E
triadic
#A5A61E #1EA5A6 #A61EA5
tetradic
#A5A61E #1EA663 #1F1EA6 #A61E61
square
#A5A61E #1EA663 #1F1EA6 #A61E61
split-complementary
#A5A61E #1E61A6 #631EA6
monochromatic
#3E3E0B #717215 #A5A61E #D7D829 #E1E25D

Accessibility & contrast

On white

2.60
#A5A61E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A5A61E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A61E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A61E#FFFFFF#000000##000000
##A5A61E1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a61e;
/* rgb */ color: rgb(165, 166, 30);
/* oklch */ color: oklch(70.2% 0.145 110.1);
Tailwind
colors: {
  custom: {
    50: '#c4c068',
    500: '#a5a61e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a61e;
$custom-light: #c4c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a61e",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 30
  },
  "hsl": {
    "h": 60.441,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.70188,
    "c": 0.14543,
    "h": 110.1
  },
  "luminance": 0.35366
}

Semantic roles & 50–950 ramp

primary
#A5A61E
secondary
#5B5AC6
accent
#3CEC3D
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A61E

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

Preview Lab → · Contrast checker → · Palette generator →

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