#A7A246#A7A246

#A7A246 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.114 H 106.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A7A246
RGBrgb(167, 162, 70)
HSLhsl(57, 41%, 46%)
HSVhsv(57, 58%, 65%)
CMYKcmyk(0%, 3%, 58.1%, 34.5%)
CIE-LABlab(65.36, -10.38, 47.48)
CIE-LCHlch(65.36, 48.60, 102.34°)
OKLaboklab(69.78% -0.0317 0.1098)
OKLCHoklch(69.78% 0.114 106.1)
XYZxyz(29.9631, 34.4993, 10.8738)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A246 #464BA7
analogous
#A77246 #A7A246 #7CA746
triadic
#A7A246 #46A7A2 #A246A7
tetradic
#A7A246 #46A772 #464BA7 #A7467C
square
#A7A246 #46A772 #464BA7 #A7467C
split-complementary
#A7A246 #467CA7 #7246A7
monochromatic
#514E22 #7C7834 #A7A246 #C0BC6A #D3CF95

Accessibility & contrast

On white

2.66
#A7A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A7A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A246
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A246#FFFFFF#000000##000000
##A7A2461.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C3C
Deuteranopia (green-blind)
#B1A14B
Tritanopia (blue-blind)
#B2988E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a246;
/* rgb */ color: rgb(167, 162, 70);
/* oklch */ color: oklch(69.8% 0.114 106.1);
Tailwind
colors: {
  custom: {
    50: '#c3bd7d',
    500: '#a7a246',
    950: '#000000',
  },
}
SCSS
$custom: #a7a246;
$custom-light: #c3bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a246",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 56.907,
    "s": 40.928,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69776,
    "c": 0.11429,
    "h": 106.1
  },
  "luminance": 0.34498
}

Semantic roles & 50–950 ramp

primary
#A7A246
secondary
#8A8DBE
accent
#5DD157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A7A246

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

Preview Lab → · Contrast checker → · Palette generator →

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