#A7901F#A7901F

#A7901F is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.5% C 0.126 H 96.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A7901F
RGBrgb(167, 144, 31)
HSLhsl(50, 69%, 39%)
HSVhsv(50, 81%, 65%)
CMYKcmyk(0%, 13.8%, 81.4%, 34.5%)
CIE-LABlab(60.13, -2.89, 57.89)
CIE-LCHlch(60.13, 57.96, 92.86°)
OKLaboklab(65.53% -0.0147 0.1251)
OKLCHoklch(65.53% 0.126 96.7)
XYZxyz(26.1584, 28.2624, 5.3734)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7901F #1F36A7
analogous
#A74C1F #A7901F #7AA71F
triadic
#A7901F #1FA790 #901FA7
tetradic
#A7901F #1FA74C #1F36A7 #A71F7A
square
#A7901F #1FA74C #1F36A7 #A71F7A
split-complementary
#A7901F #1F7AA7 #4C1FA7
monochromatic
#40370C #736315 #A7901F #D8BB2B #E1CB5F

Accessibility & contrast

On white

3.16
#A7901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A7901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7901F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7901F#FFFFFF#000000##000000
##A7901F1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A69427
Tritanopia (blue-blind)
#B5847B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a7901f;
/* rgb */ color: rgb(167, 144, 31);
/* oklch */ color: oklch(65.5% 0.126 96.7);
Tailwind
colors: {
  custom: {
    50: '#c5b066',
    500: '#a7901f',
    950: '#000000',
  },
}
SCSS
$custom: #a7901f;
$custom-light: #c5b066;
$custom-dark: #000000;
JSON
{
  "hex": "#a7901f",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 49.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65531,
    "c": 0.12597,
    "h": 96.7
  },
  "luminance": 0.28261
}

Semantic roles & 50–950 ramp

primary
#A7901F
secondary
#5C6EC6
accent
#5AEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A7901F

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

Preview Lab → · Contrast checker → · Palette generator →

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