#A7A243#A7A243

#A7A243 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.117 H 106.2°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A7A243
RGBrgb(167, 162, 67)
HSLhsl(57, 43%, 46%)
HSVhsv(57, 60%, 65%)
CMYKcmyk(0%, 3%, 59.9%, 34.5%)
CIE-LABlab(65.33, -10.61, 48.83)
CIE-LCHlch(65.33, 49.97, 102.26°)
OKLaboklab(69.74% -0.0327 0.1123)
OKLCHoklch(69.74% 0.117 106.2)
XYZxyz(29.8708, 34.4623, 10.3875)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A243 #4348A7
analogous
#A77043 #A7A243 #7AA743
triadic
#A7A243 #43A7A2 #A243A7
tetradic
#A7A243 #43A770 #4348A7 #A7437A
square
#A7A243 #43A770 #4348A7 #A7437A
split-complementary
#A7A243 #437AA7 #7043A7
monochromatic
#504D20 #7B7831 #A7A243 #C1BD66 #D3D091

Accessibility & contrast

On white

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

On black

7.89
#A7A243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A243
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A243#FFFFFF#000000##000000
##A7A2431.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a243;
/* rgb */ color: rgb(167, 162, 67);
/* oklch */ color: oklch(69.7% 0.117 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4bd7b',
    500: '#a7a243',
    950: '#000000',
  },
}
SCSS
$custom: #a7a243;
$custom-light: #c4bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a243",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 67
  },
  "hsl": {
    "h": 57,
    "s": 42.735,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69744,
    "c": 0.11696,
    "h": 106.2
  },
  "luminance": 0.34461
}

Semantic roles & 50–950 ramp

primary
#A7A243
secondary
#878ABE
accent
#5CD355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A7A243

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

Preview Lab → · Contrast checker → · Palette generator →

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