#A5A768#A5A768

#A5A768 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.084 H 109.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A5A768
RGBrgb(165, 167, 104)
HSLhsl(62, 26%, 53%)
HSVhsv(62, 38%, 65%)
CMYKcmyk(1.2%, 0%, 37.7%, 34.5%)
CIE-LABlab(67.00, -10.54, 32.36)
CIE-LCHlch(67.00, 34.03, 108.04°)
OKLaboklab(71.19% -0.0287 0.0793)
OKLCHoklch(71.19% 0.084 109.9)
XYZxyz(31.8348, 36.6368, 18.4886)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A768 #6A68A7
analogous
#A78968 #A5A768 #85A768
triadic
#A5A768 #68A5A7 #A768A5
tetradic
#A5A768 #68A789 #6A68A7 #A76885
square
#A5A768 #68A789 #6A68A7 #A76885
split-complementary
#A5A768 #6885A7 #8968A7
monochromatic
#5D5E37 #83854D #A5A768 #BCBE8F #D3D4B5

Accessibility & contrast

On white

2.52
#A5A768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A5A768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A768
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A768#FFFFFF#000000##000000
##A5A7681.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A263
Deuteranopia (green-blind)
#B1A46B
Tritanopia (blue-blind)
#ADA097
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a768;
/* rgb */ color: rgb(165, 167, 104);
/* oklch */ color: oklch(71.2% 0.084 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1c194',
    500: '#a5a768',
    950: '#000000',
  },
}
SCSS
$custom: #a5a768;
$custom-light: #c1c194;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a768",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 104
  },
  "hsl": {
    "h": 61.905,
    "s": 26.36,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71185,
    "c": 0.08429,
    "h": 109.9
  },
  "luminance": 0.36636
}

Semantic roles & 50–950 ramp

primary
#A5A768
secondary
#A9A8C3
accent
#65C368
background
#FBFBF9
surface
#F7F7F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A768

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

Preview Lab → · Contrast checker → · Palette generator →

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