#A7942E#A7942E

#A7942E is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.5% C 0.120 H 98.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A7942E
RGBrgb(167, 148, 46)
HSLhsl(51, 57%, 42%)
HSVhsv(51, 72%, 65%)
CMYKcmyk(0%, 11.4%, 72.5%, 34.5%)
CIE-LABlab(61.30, -4.43, 53.65)
CIE-LCHlch(61.30, 53.83, 94.72°)
OKLaboklab(66.49% -0.0175 0.1191)
OKLCHoklch(66.49% 0.12 98.4)
XYZxyz(27.0207, 29.5939, 6.8732)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7942E #2E41A7
analogous
#A7582E #A7942E #7EA72E
triadic
#A7942E #2EA794 #942EA7
tetradic
#A7942E #2EA758 #2E41A7 #A72E7E
square
#A7942E #2EA758 #2E41A7 #A72E7E
split-complementary
#A7942E #2E7EA7 #582EA7
monochromatic
#473F14 #776921 #A7942E #CCB746 #D9CA76

Accessibility & contrast

On white

3.04
#A7942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A7942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7942E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7942E#FFFFFF#000000##000000
##A7942E1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#B48980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a7942e;
/* rgb */ color: rgb(167, 148, 46);
/* oklch */ color: oklch(66.5% 0.120 98.4);
Tailwind
colors: {
  custom: {
    50: '#c5b36e',
    500: '#a7942e',
    950: '#000000',
  },
}
SCSS
$custom: #a7942e;
$custom-light: #c5b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7942e",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 50.579,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66491,
    "c": 0.12037,
    "h": 98.4
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#A7942E
secondary
#707CC1
accent
#60E048
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A7942E

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

Preview Lab → · Contrast checker → · Palette generator →

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