#A7902F#A7902F

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

Color values

HEX#A7902F
RGBrgb(167, 144, 47)
HSLhsl(49, 56%, 42%)
HSVhsv(49, 72%, 65%)
CMYKcmyk(0%, 13.8%, 71.9%, 34.5%)
CIE-LABlab(60.22, -2.21, 52.17)
CIE-LCHlch(60.22, 52.22, 92.42°)
OKLaboklab(65.64% -0.0111 0.1162)
OKLCHoklch(65.64% 0.117 95.5)
XYZxyz(26.4240, 28.3687, 6.7727)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7902F #2F46A7
analogous
#A7542F #A7902F #82A72F
triadic
#A7902F #2FA790 #902FA7
tetradic
#A7902F #2FA754 #2F46A7 #A72F82
square
#A7902F #2FA754 #2F46A7 #A72F82
split-complementary
#A7902F #2F82A7 #542FA7
monochromatic
#473E14 #776722 #A7902F #CBB248 #D9C678

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7902F#FFFFFF#000000##000000
##A7902F1.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)
#9F8D21
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#B4857C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a7902f;
/* rgb */ color: rgb(167, 144, 47);
/* oklch */ color: oklch(65.6% 0.117 95.5);
Tailwind
colors: {
  custom: {
    50: '#c5b06e',
    500: '#a7902f',
    950: '#000000',
  },
}
SCSS
$custom: #a7902f;
$custom-light: #c5b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7902f",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 48.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65637,
    "c": 0.11668,
    "h": 95.5
  },
  "luminance": 0.28367
}

Semantic roles & 50–950 ramp

primary
#A7902F
secondary
#7180C1
accent
#65DF48
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A7902F

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

Preview Lab → · Contrast checker → · Palette generator →

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