#A5A751#A5A751

#A5A751 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.110 H 110.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A5A751
RGBrgb(165, 167, 81)
HSLhsl(61, 35%, 49%)
HSVhsv(61, 51%, 65%)
CMYKcmyk(1.2%, 0%, 51.5%, 34.5%)
CIE-LABlab(66.70, -12.94, 43.71)
CIE-LCHlch(66.70, 45.59, 106.49°)
OKLaboklab(70.84% -0.0377 0.103)
OKLCHoklch(70.84% 0.11 110.1)
XYZxyz(30.8217, 36.2315, 13.1528)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A751 #5351A7
analogous
#A77E51 #A5A751 #7AA751
triadic
#A5A751 #51A5A7 #A751A5
tetradic
#A5A751 #51A77E #5351A7 #A7517A
square
#A5A751 #51A77E #5351A7 #A7517A
split-complementary
#A5A751 #517AA7 #7E51A7
monochromatic
#545529 #7C7E3D #A5A751 #BCBD78 #D0D1A1

Accessibility & contrast

On white

2.55
#A5A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A5A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A751
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A751#FFFFFF#000000##000000
##A5A7511.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A149
Deuteranopia (green-blind)
#B3A455
Tritanopia (blue-blind)
#AF9E94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a751;
/* rgb */ color: rgb(165, 167, 81);
/* oklch */ color: oklch(70.8% 0.110 110.1);
Tailwind
colors: {
  custom: {
    50: '#c1c184',
    500: '#a5a751',
    950: '#000000',
  },
}
SCSS
$custom: #a5a751;
$custom-light: #c1c184;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a751",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 61.395,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.10963,
    "h": 110.1
  },
  "luminance": 0.36231
}

Semantic roles & 50–950 ramp

primary
#A5A751
secondary
#9695BF
accent
#5DCB60
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A5A751

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

Preview Lab → · Contrast checker → · Palette generator →

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