#A5A13E#A5A13E

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

Color values

HEX#A5A13E
RGBrgb(165, 161, 62)
HSLhsl(58, 45%, 45%)
HSVhsv(58, 62%, 65%)
CMYKcmyk(0%, 2.4%, 62.4%, 35.3%)
CIE-LABlab(64.83, -11.30, 50.50)
CIE-LCHlch(64.83, 51.75, 102.62°)
OKLaboklab(69.29% -0.0351 0.1152)
OKLCHoklch(69.29% 0.12 107)
XYZxyz(29.1324, 33.8378, 9.5533)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A13E #3E42A5
analogous
#A56E3E #A5A13E #76A53E
triadic
#A5A13E #3EA5A1 #A13EA5
tetradic
#A5A13E #3EA56E #3E42A5 #A53E76
square
#A5A13E #3EA56E #3E42A5 #A53E76
split-complementary
#A5A13E #3E76A5 #6E3EA5
monochromatic
#4C4A1D #79762D #A5A13E #C2BF5E #D3D08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A13E#FFFFFF#000000##000000
##A5A13E1.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)
#AE9B32
Deuteranopia (green-blind)
#B09F44
Tritanopia (blue-blind)
#B0978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a13e;
/* rgb */ color: rgb(165, 161, 62);
/* oklch */ color: oklch(69.3% 0.120 107.0);
Tailwind
colors: {
  custom: {
    50: '#c2bc78',
    500: '#a5a13e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a13e;
$custom-light: #c2bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a13e",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 57.67,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.12041,
    "h": 107
  },
  "luminance": 0.33837
}

Semantic roles & 50–950 ramp

primary
#A5A13E
secondary
#8183BE
accent
#58D553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A13E

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

Preview Lab → · Contrast checker → · Palette generator →

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