#A7A122#A7A122

#A7A122 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.138 H 106.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A7A122
RGBrgb(167, 161, 34)
HSLhsl(57, 66%, 39%)
HSVhsv(57, 80%, 65%)
CMYKcmyk(0%, 3.6%, 79.6%, 34.5%)
CIE-LABlab(64.82, -11.87, 61.12)
CIE-LCHlch(64.82, 62.26, 100.99°)
OKLaboklab(69.27% -0.0397 0.1327)
OKLCHoklch(69.27% 0.138 106.6)
XYZxyz(28.9712, 33.8218, 6.5153)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A122 #2228A7
analogous
#A75F22 #A7A122 #6BA722
triadic
#A7A122 #22A7A1 #A122A7
tetradic
#A7A122 #22A75F #2228A7 #A7226B
square
#A7A122 #22A75F #2228A7 #A7226B
split-complementary
#A7A122 #226BA7 #5F22A7
monochromatic
#413F0D #747018 #A7A122 #D5CE31 #DFDA64

Accessibility & contrast

On white

2.70
#A7A122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A7A122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A122
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A122#FFFFFF#000000##000000
##A7A1221.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#B4968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a122;
/* rgb */ color: rgb(167, 161, 34);
/* oklch */ color: oklch(69.3% 0.138 106.6);
Tailwind
colors: {
  custom: {
    50: '#c5bc69',
    500: '#a7a122',
    950: '#000000',
  },
}
SCSS
$custom: #a7a122;
$custom-light: #c5bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a122",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 57.293,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69267,
    "c": 0.13847,
    "h": 106.6
  },
  "luminance": 0.33821
}

Semantic roles & 50–950 ramp

primary
#A7A122
secondary
#6065C5
accent
#46E93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A7A122

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

Preview Lab → · Contrast checker → · Palette generator →

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