#A6942F#A6942F

#A6942F is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.4% C 0.120 H 98.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A6942F
RGBrgb(166, 148, 47)
HSLhsl(51, 56%, 42%)
HSVhsv(51, 72%, 65%)
CMYKcmyk(0%, 10.8%, 71.7%, 34.9%)
CIE-LABlab(61.21, -4.83, 53.13)
CIE-LCHlch(61.21, 53.35, 95.19°)
OKLaboklab(66.4% -0.0185 0.1182)
OKLCHoklch(66.4% 0.12 98.9)
XYZxyz(26.8301, 29.4933, 6.9683)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6942F #2F41A6
analogous
#A6582F #A6942F #7DA62F
triadic
#A6942F #2FA694 #942FA6
tetradic
#A6942F #2FA658 #2F41A6 #A62F7D
square
#A6942F #2FA658 #2F41A6 #A62F7D
split-complementary
#A6942F #2F7DA6 #582FA6
monochromatic
#473F14 #766921 #A6942F #CBB747 #D8CA77

Accessibility & contrast

On white

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

On black

6.90
#A6942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6942F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6942F#FFFFFF#000000##000000
##A6942F1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39020
Deuteranopia (green-blind)
#A79735
Tritanopia (blue-blind)
#B38980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a6942f;
/* rgb */ color: rgb(166, 148, 47);
/* oklch */ color: oklch(66.4% 0.120 98.9);
Tailwind
colors: {
  custom: {
    50: '#c4b36e',
    500: '#a6942f',
    950: '#000000',
  },
}
SCSS
$custom: #a6942f;
$custom-light: #c4b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6942f",
  "rgb": {
    "r": 166,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 50.924,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.11965,
    "h": 98.9
  },
  "luminance": 0.29492
}

Semantic roles & 50–950 ramp

primary
#A6942F
secondary
#707CC1
accent
#5FDF49
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A6942F

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

Preview Lab → · Contrast checker → · Palette generator →

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