#A5A13D#A5A13D

#A5A13D is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.121 H 107.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A5A13D
RGBrgb(165, 161, 61)
HSLhsl(58, 46%, 44%)
HSVhsv(58, 63%, 65%)
CMYKcmyk(0%, 2.4%, 63%, 35.3%)
CIE-LABlab(64.82, -11.37, 50.93)
CIE-LCHlch(64.82, 52.18, 102.58°)
OKLaboklab(69.29% -0.0354 0.1159)
OKLCHoklch(69.29% 0.121 107)
XYZxyz(29.1052, 33.8269, 9.4101)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A13D #3D41A5
analogous
#A56D3D #A5A13D #75A53D
triadic
#A5A13D #3DA5A1 #A13DA5
tetradic
#A5A13D #3DA56D #3D41A5 #A53D75
square
#A5A13D #3DA56D #3D41A5 #A53D75
split-complementary
#A5A13D #3D75A5 #6D3DA5
monochromatic
#4C4A1C #78752C #A5A13D #C3BF5C #D3D189

Accessibility & contrast

On white

2.70
#A5A13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A5A13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A13D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A13D#FFFFFF#000000##000000
##A5A13D1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B31
Deuteranopia (green-blind)
#B09F43
Tritanopia (blue-blind)
#B0978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a13d;
/* rgb */ color: rgb(165, 161, 61);
/* oklch */ color: oklch(69.3% 0.121 107.0);
Tailwind
colors: {
  custom: {
    50: '#c2bc77',
    500: '#a5a13d',
    950: '#000000',
  },
}
SCSS
$custom: #a5a13d;
$custom-light: #c2bc77;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a13d",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 61
  },
  "hsl": {
    "h": 57.692,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.12123,
    "h": 107
  },
  "luminance": 0.33826
}

Semantic roles & 50–950 ramp

primary
#A5A13D
secondary
#8082BE
accent
#57D652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A13D

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

Preview Lab → · Contrast checker → · Palette generator →

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