#A5A339#A5A339

#A5A339 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.126 H 108.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A5A339
RGBrgb(165, 163, 57)
HSLhsl(59, 49%, 44%)
HSVhsv(59, 65%, 65%)
CMYKcmyk(0%, 1.2%, 65.5%, 35.3%)
CIE-LABlab(65.35, -12.67, 53.20)
CIE-LCHlch(65.35, 54.69, 103.40°)
OKLaboklab(69.69% -0.0396 0.1201)
OKLCHoklch(69.69% 0.126 108.2)
XYZxyz(29.3538, 34.4900, 8.9811)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A339 #393BA5
analogous
#A56D39 #A5A339 #71A539
triadic
#A5A339 #39A5A3 #A339A5
tetradic
#A5A339 #39A56D #393BA5 #A53971
square
#A5A339 #39A56D #393BA5 #A53971
split-complementary
#A5A339 #3971A5 #6D39A5
monochromatic
#4A491A #787629 #A5A339 #C5C356 #D4D384

Accessibility & contrast

On white

2.66
#A5A339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A5A339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A339
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A339#FFFFFF#000000##000000
##A5A3391.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2B
Deuteranopia (green-blind)
#B2A040
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a339;
/* rgb */ color: rgb(165, 163, 57);
/* oklch */ color: oklch(69.7% 0.126 108.2);
Tailwind
colors: {
  custom: {
    50: '#c3be75',
    500: '#a5a339',
    950: '#000000',
  },
}
SCSS
$custom: #a5a339;
$custom-light: #c3be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a339",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 58.889,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.12646,
    "h": 108.2
  },
  "luminance": 0.34489
}

Semantic roles & 50–950 ramp

primary
#A5A339
secondary
#7B7DBE
accent
#52D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A339

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

Preview Lab → · Contrast checker → · Palette generator →

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