#A7902A#A7902A

#A7902A is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.6% C 0.120 H 95.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A7902A
RGBrgb(167, 144, 42)
HSLhsl(49, 60%, 41%)
HSVhsv(49, 75%, 65%)
CMYKcmyk(0%, 13.8%, 74.9%, 34.5%)
CIE-LABlab(60.19, -2.45, 54.12)
CIE-LCHlch(60.19, 54.17, 92.59°)
OKLaboklab(65.6% -0.0124 0.1193)
OKLCHoklch(65.6% 0.12 95.9)
XYZxyz(26.3289, 28.3306, 6.2716)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7902A #2A41A7
analogous
#A7512A #A7902A #7FA72A
triadic
#A7902A #2AA790 #902AA7
tetradic
#A7902A #2AA751 #2A41A7 #A72A7F
square
#A7902A #2AA751 #2A41A7 #A72A7F
split-complementary
#A7902A #2A7FA7 #512AA7
monochromatic
#453C11 #76661E #A7902A #CFB43F #DBC770

Accessibility & contrast

On white

3.15
#A7902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#A7902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7902A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7902A#FFFFFF#000000##000000
##A7902A1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D19
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#B5857C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a7902a;
/* rgb */ color: rgb(167, 144, 42);
/* oklch */ color: oklch(65.6% 0.120 95.9);
Tailwind
colors: {
  custom: {
    50: '#c5b06b',
    500: '#a7902a',
    950: '#000000',
  },
}
SCSS
$custom: #a7902a;
$custom-light: #c5b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7902a",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 48.96,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.11994,
    "h": 95.9
  },
  "luminance": 0.28329
}

Semantic roles & 50–950 ramp

primary
#A7902A
secondary
#6B7BC2
accent
#62E345
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A7902A

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

Preview Lab → · Contrast checker → · Palette generator →

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