#A7A125#A7A125

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

Color values

HEX#A7A125
RGBrgb(167, 161, 37)
HSLhsl(57, 64%, 40%)
HSVhsv(57, 78%, 65%)
CMYKcmyk(0%, 3.6%, 77.8%, 34.5%)
CIE-LABlab(64.84, -11.76, 60.20)
CIE-LCHlch(64.84, 61.34, 101.05°)
OKLaboklab(69.28% -0.0391 0.1313)
OKLCHoklch(69.28% 0.137 106.6)
XYZxyz(29.0164, 33.8399, 6.7532)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A125 #252BA7
analogous
#A76025 #A7A125 #6CA725
triadic
#A7A125 #25A7A1 #A125A7
tetradic
#A7A125 #25A760 #252BA7 #A7256C
square
#A7A125 #25A760 #252BA7 #A7256C
split-complementary
#A7A125 #256CA7 #6025A7
monochromatic
#43400F #75711A #A7A125 #D3CB37 #DED869

Accessibility & contrast

On white

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

On black

7.77
#A7A125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A125
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A125#FFFFFF#000000##000000
##A7A1251.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a125;
/* rgb */ color: rgb(167, 161, 37);
/* oklch */ color: oklch(69.3% 0.137 106.6);
Tailwind
colors: {
  custom: {
    50: '#c5bc6b',
    500: '#a7a125',
    950: '#000000',
  },
}
SCSS
$custom: #a7a125;
$custom-light: #c5bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a125",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 57.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.69283,
    "c": 0.13698,
    "h": 106.6
  },
  "luminance": 0.33839
}

Semantic roles & 50–950 ramp

primary
#A7A125
secondary
#6469C4
accent
#49E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7A125

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

Preview Lab → · Contrast checker → · Palette generator →

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