#A5A92E#A5A92E

#A5A92E is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.140 H 111.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A5A92E
RGBrgb(165, 169, 46)
HSLhsl(62, 57%, 42%)
HSVhsv(62, 73%, 66%)
CMYKcmyk(2.4%, 0%, 72.8%, 33.7%)
CIE-LABlab(66.96, -16.38, 59.08)
CIE-LCHlch(66.96, 61.31, 105.50°)
OKLaboklab(70.95% -0.0511 0.1306)
OKLCHoklch(70.95% 0.14 111.4)
XYZxyz(30.1992, 36.5733, 8.0528)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A92E #322EA9
analogous
#A96F2E #A5A92E #68A92E
triadic
#A5A92E #2EA5A9 #A92EA5
tetradic
#A5A92E #2EA96F #322EA9 #A92E68
square
#A5A92E #2EA96F #322EA9 #A92E68
split-complementary
#A5A92E #2E68A9 #6F2EA9
monochromatic
#474914 #767921 #A5A92E #C9CD47 #D7DA77

Accessibility & contrast

On white

2.53
#A5A92E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A5A92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A92E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A92E#FFFFFF#000000##000000
##A5A92E1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A116
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#B19E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a92e;
/* rgb */ color: rgb(165, 169, 46);
/* oklch */ color: oklch(71.0% 0.140 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c270',
    500: '#a5a92e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a92e;
$custom-light: #c3c270;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a92e",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 46
  },
  "hsl": {
    "h": 61.951,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70951,
    "c": 0.14027,
    "h": 111.4
  },
  "luminance": 0.36573
}

Semantic roles & 50–950 ramp

primary
#A5A92E
secondary
#7371C2
accent
#47E04C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A92E

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

Preview Lab → · Contrast checker → · Palette generator →

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