#A7902B#A7902B

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

Color values

HEX#A7902B
RGBrgb(167, 144, 43)
HSLhsl(49, 59%, 41%)
HSVhsv(49, 74%, 65%)
CMYKcmyk(0%, 13.8%, 74.3%, 34.5%)
CIE-LABlab(60.19, -2.40, 53.74)
CIE-LCHlch(60.19, 53.79, 92.56°)
OKLaboklab(65.61% -0.0121 0.1187)
OKLCHoklch(65.61% 0.119 95.8)
XYZxyz(26.3470, 28.3378, 6.3670)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7902B #2B42A7
analogous
#A7522B #A7902B #80A72B
triadic
#A7902B #2BA790 #902BA7
tetradic
#A7902B #2BA752 #2B42A7 #A72B80
square
#A7902B #2BA752 #2B42A7 #A72B80
split-complementary
#A7902B #2B80A7 #522BA7
monochromatic
#463C12 #76661E #A7902B #CEB441 #DBC772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7902B#FFFFFF#000000##000000
##A7902B1.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)
#9F8D1A
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#B5857C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a7902b;
/* rgb */ color: rgb(167, 144, 43);
/* oklch */ color: oklch(65.6% 0.119 95.8);
Tailwind
colors: {
  custom: {
    50: '#c5b06c',
    500: '#a7902b',
    950: '#000000',
  },
}
SCSS
$custom: #a7902b;
$custom-light: #c5b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7902b",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 48.871,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65606,
    "c": 0.11932,
    "h": 95.8
  },
  "luminance": 0.28336
}

Semantic roles & 50–950 ramp

primary
#A7902B
secondary
#6C7CC2
accent
#63E246
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A7902B

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

Preview Lab → · Contrast checker → · Palette generator →

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