#A7AD2A#A7AD2A

#A7AD2A is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.0% C 0.146 H 112.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#A7AD2A
RGBrgb(167, 173, 42)
HSLhsl(63, 61%, 42%)
HSVhsv(63, 76%, 68%)
CMYKcmyk(3.5%, 0%, 75.7%, 32.2%)
CIE-LABlab(68.22, -17.74, 61.69)
CIE-LCHlch(68.22, 64.19, 106.04°)
OKLaboklab(72% -0.0553 0.1354)
OKLCHoklch(72% 0.146 112.2)
XYZxyz(31.2989, 38.2706, 7.9282)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AD2A #302AAD
analogous
#AD722A #A7AD2A #66AD2A
triadic
#A7AD2A #2AA7AD #AD2AA7
tetradic
#A7AD2A #2AAD72 #302AAD #AD2A66
square
#A7AD2A #2AAD72 #302AAD #AD2A66
split-complementary
#A7AD2A #2A66AD #722AAD
monochromatic
#484B12 #777C1E #A7AD2A #CBD143 #D8DD74

Accessibility & contrast

On white

2.43
#A7AD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#A7AD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AD2A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AD2A#FFFFFF#000000##000000
##A7AD2A1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA509
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#B3A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ad2a;
/* rgb */ color: rgb(167, 173, 42);
/* oklch */ color: oklch(72.0% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#c5c56e',
    500: '#a7ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #a7ad2a;
$custom-light: #c5c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ad2a",
  "rgb": {
    "r": 167,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 62.748,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71995,
    "c": 0.14624,
    "h": 112.2
  },
  "luminance": 0.3827
}

Semantic roles & 50–950 ramp

primary
#A7AD2A
secondary
#726EC5
accent
#44E44B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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