#A7A627#A7A627

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

Color values

HEX#A7A627
RGBrgb(167, 166, 39)
HSLhsl(60, 62%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0%, 0.6%, 76.6%, 34.5%)
CIE-LABlab(66.24, -14.28, 60.84)
CIE-LCHlch(66.24, 62.49, 103.21°)
OKLaboklab(70.41% -0.046 0.133)
OKLCHoklch(70.41% 0.141 109.1)
XYZxyz(29.9399, 35.6354, 7.2203)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A627 #2728A7
analogous
#A76627 #A7A627 #68A727
triadic
#A7A627 #27A7A6 #A627A7
tetradic
#A7A627 #27A766 #2728A7 #A72768
square
#A7A627 #27A766 #2728A7 #A72768
split-complementary
#A7A627 #2768A7 #6627A7
monochromatic
#444310 #75751B #A7A627 #D1D03A #DDDC6C

Accessibility & contrast

On white

2.58
#A7A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A7A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A627
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A627#FFFFFF#000000##000000
##A7A6271.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a627;
/* rgb */ color: rgb(167, 166, 39);
/* oklch */ color: oklch(70.4% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#c5c06c',
    500: '#a7a627',
    950: '#000000',
  },
}
SCSS
$custom: #a7a627;
$custom-light: #c5c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a627",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 59.531,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70407,
    "c": 0.14074,
    "h": 109.1
  },
  "luminance": 0.35634
}

Semantic roles & 50–950 ramp

primary
#A7A627
secondary
#6767C3
accent
#44E543
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A627

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

Preview Lab → · Contrast checker → · Palette generator →

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