#A7A339#A7A339

#A7A339 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.126 H 107.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A7A339
RGBrgb(167, 163, 57)
HSLhsl(58, 49%, 44%)
HSVhsv(58, 66%, 65%)
CMYKcmyk(0%, 2.4%, 65.9%, 34.5%)
CIE-LABlab(65.52, -11.80, 53.43)
CIE-LCHlch(65.52, 54.72, 102.46°)
OKLaboklab(69.87% -0.0372 0.1205)
OKLCHoklch(69.87% 0.126 107.2)
XYZxyz(29.7731, 34.7062, 9.0007)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A339 #393DA7
analogous
#A76C39 #A7A339 #74A739
triadic
#A7A339 #39A7A3 #A339A7
tetradic
#A7A339 #39A76C #393DA7 #A73974
square
#A7A339 #39A76C #393DA7 #A73974
split-complementary
#A7A339 #3974A7 #6C39A7
monochromatic
#4C4A1A #797629 #A7A339 #C6C257 #D5D285

Accessibility & contrast

On white

2.64
#A7A339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A7A339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A339
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A339#FFFFFF#000000##000000
##A7A3391.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a339;
/* rgb */ color: rgb(167, 163, 57);
/* oklch */ color: oklch(69.9% 0.126 107.2);
Tailwind
colors: {
  custom: {
    50: '#c4be75',
    500: '#a7a339',
    950: '#000000',
  },
}
SCSS
$custom: #a7a339;
$custom-light: #c4be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a339",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 57.818,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.12616,
    "h": 107.2
  },
  "luminance": 0.34705
}

Semantic roles & 50–950 ramp

primary
#A7A339
secondary
#7D7FBF
accent
#54D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A339

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

Preview Lab → · Contrast checker → · Palette generator →

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