#A7A124#A7A124

#A7A124 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#A7A124
RGBrgb(167, 161, 36)
HSLhsl(57, 65%, 40%)
HSVhsv(57, 78%, 65%)
CMYKcmyk(0%, 3.6%, 78.4%, 34.5%)
CIE-LABlab(64.83, -11.80, 60.52)
CIE-LCHlch(64.83, 61.65, 101.03°)
OKLaboklab(69.28% -0.0393 0.1318)
OKLCHoklch(69.28% 0.137 106.6)
XYZxyz(29.0009, 33.8337, 6.6716)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A124 #242AA7
analogous
#A76024 #A7A124 #6CA724
triadic
#A7A124 #24A7A1 #A124A7
tetradic
#A7A124 #24A760 #242AA7 #A7246C
square
#A7A124 #24A760 #242AA7 #A7246C
split-complementary
#A7A124 #246CA7 #6024A7
monochromatic
#42400E #757019 #A7A124 #D3CC35 #DED967

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A124#FFFFFF#000000##000000
##A7A1241.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)
#AF9B00
Deuteranopia (green-blind)
#B29F2E
Tritanopia (blue-blind)
#B4968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a124;
/* rgb */ color: rgb(167, 161, 36);
/* oklch */ color: oklch(69.3% 0.137 106.6);
Tailwind
colors: {
  custom: {
    50: '#c5bc6a',
    500: '#a7a124',
    950: '#000000',
  },
}
SCSS
$custom: #a7a124;
$custom-light: #c5bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a124",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 57.252,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69277,
    "c": 0.13748,
    "h": 106.6
  },
  "luminance": 0.33833
}

Semantic roles & 50–950 ramp

primary
#A7A124
secondary
#6367C4
accent
#48E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A124

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

Preview Lab → · Contrast checker → · Palette generator →

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