#A5A034#A5A034

#A5A034 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.127 H 106.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A5A034
RGBrgb(165, 160, 52)
HSLhsl(57, 52%, 43%)
HSVhsv(57, 68%, 65%)
CMYKcmyk(0%, 3%, 68.5%, 35.3%)
CIE-LABlab(64.48, -11.40, 54.36)
CIE-LCHlch(64.48, 55.54, 101.84°)
OKLaboklab(68.98% -0.0365 0.1217)
OKLCHoklch(68.98% 0.127 106.7)
XYZxyz(28.7088, 33.3899, 8.1808)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A034 #3439A5
analogous
#A56734 #A5A034 #72A534
triadic
#A5A034 #34A5A0 #A034A5
tetradic
#A5A034 #34A567 #3439A5 #A53472
square
#A5A034 #34A567 #3439A5 #A53472
split-complementary
#A5A034 #3472A5 #6734A5
monochromatic
#484617 #767325 #A5A034 #C7C24F #D6D27D

Accessibility & contrast

On white

2.74
#A5A034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A5A034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A034
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A034#FFFFFF#000000##000000
##A5A0341.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A24
Deuteranopia (green-blind)
#B09E3B
Tritanopia (blue-blind)
#B1968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a034;
/* rgb */ color: rgb(165, 160, 52);
/* oklch */ color: oklch(69.0% 0.127 106.7);
Tailwind
colors: {
  custom: {
    50: '#c3bb72',
    500: '#a5a034',
    950: '#000000',
  },
}
SCSS
$custom: #a5a034;
$custom-light: #c3bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a034",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 57.345,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68983,
    "c": 0.12709,
    "h": 106.7
  },
  "luminance": 0.33389
}

Semantic roles & 50–950 ramp

primary
#A5A034
secondary
#7679BF
accent
#53DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A034

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

Preview Lab → · Contrast checker → · Palette generator →

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