#A7A026#A7A026

#A7A026 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.136 H 106.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A7A026
RGBrgb(167, 160, 38)
HSLhsl(57, 63%, 40%)
HSVhsv(57, 77%, 65%)
CMYKcmyk(0%, 4.2%, 77.2%, 34.5%)
CIE-LABlab(64.56, -11.19, 59.63)
CIE-LCHlch(64.56, 60.67, 100.63°)
OKLaboklab(69.07% -0.0374 0.1303)
OKLCHoklch(69.07% 0.136 106)
XYZxyz(28.8582, 33.4981, 6.7790)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A026 #262DA7
analogous
#A75F26 #A7A026 #6EA726
triadic
#A7A026 #26A7A0 #A026A7
tetradic
#A7A026 #26A75F #262DA7 #A7266E
square
#A7A026 #26A75F #262DA7 #A7266E
split-complementary
#A7A026 #266EA7 #5F26A7
monochromatic
#43400F #75701B #A7A026 #D2C938 #DDD76A

Accessibility & contrast

On white

2.73
#A7A026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A7A026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A026
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A026#FFFFFF#000000##000000
##A7A0261.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A07
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#B49589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a026;
/* rgb */ color: rgb(167, 160, 38);
/* oklch */ color: oklch(69.1% 0.136 106.0);
Tailwind
colors: {
  custom: {
    50: '#c5bb6b',
    500: '#a7a026',
    950: '#000000',
  },
}
SCSS
$custom: #a7a026;
$custom-light: #c5bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a026",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 56.744,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69067,
    "c": 0.13552,
    "h": 106
  },
  "luminance": 0.33497
}

Semantic roles & 50–950 ramp

primary
#A7A026
secondary
#656BC3
accent
#4BE642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7A026

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

Preview Lab → · Contrast checker → · Palette generator →

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