#A7A623#A7A623

#A7A623 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.143 H 109.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A7A623
RGBrgb(167, 166, 35)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 79%, 65%)
CMYKcmyk(0%, 0.6%, 79%, 34.5%)
CIE-LABlab(66.22, -14.43, 62.06)
CIE-LCHlch(66.22, 63.72, 103.09°)
OKLaboklab(70.39% -0.0467 0.1349)
OKLCHoklch(70.39% 0.143 109.1)
XYZxyz(29.8771, 35.6102, 6.8894)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A623 #2324A7
analogous
#A76423 #A7A623 #66A723
triadic
#A7A623 #23A7A6 #A623A7
tetradic
#A7A623 #23A764 #2324A7 #A72366
square
#A7A623 #23A764 #2324A7 #A72366
split-complementary
#A7A623 #2366A7 #6423A7
monochromatic
#42410E #747418 #A7A623 #D4D333 #DFDE66

Accessibility & contrast

On white

2.59
#A7A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A7A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A623
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A623#FFFFFF#000000##000000
##A7A6231.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a7a623;
/* rgb */ color: rgb(167, 166, 35);
/* oklch */ color: oklch(70.4% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#c5c06a',
    500: '#a7a623',
    950: '#000000',
  },
}
SCSS
$custom: #a7a623;
$custom-light: #c5c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a623",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 59.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70386,
    "c": 0.14274,
    "h": 109.1
  },
  "luminance": 0.35609
}

Semantic roles & 50–950 ramp

primary
#A7A623
secondary
#6162C4
accent
#41E83F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A623

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

Preview Lab → · Contrast checker → · Palette generator →

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