#A7A01F#A7A01F

#A7A01F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.139 H 106.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A7A01F
RGBrgb(167, 160, 31)
HSLhsl(57, 69%, 39%)
HSVhsv(57, 81%, 65%)
CMYKcmyk(0%, 4.2%, 81.4%, 34.5%)
CIE-LABlab(64.53, -11.45, 61.74)
CIE-LCHlch(64.53, 62.79, 100.51°)
OKLaboklab(69.03% -0.0387 0.1334)
OKLCHoklch(69.03% 0.139 106.2)
XYZxyz(28.7557, 33.4571, 6.2392)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A01F #1F26A7
analogous
#A75C1F #A7A01F #6AA71F
triadic
#A7A01F #1FA7A0 #A01FA7
tetradic
#A7A01F #1FA75C #1F26A7 #A71F6A
square
#A7A01F #1FA75C #1F26A7 #A71F6A
split-complementary
#A7A01F #1F6AA7 #5C1FA7
monochromatic
#403D0C #736F15 #A7A01F #D8CF2B #E1DB5F

Accessibility & contrast

On white

2.73
#A7A01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A7A01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A01F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A01F#FFFFFF#000000##000000
##A7A01F1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B19F2B
Tritanopia (blue-blind)
#B49589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a7a01f;
/* rgb */ color: rgb(167, 160, 31);
/* oklch */ color: oklch(69.0% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#c5bb68',
    500: '#a7a01f',
    950: '#000000',
  },
}
SCSS
$custom: #a7a01f;
$custom-light: #c5bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a01f",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 56.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.13894,
    "h": 106.2
  },
  "luminance": 0.33456
}

Semantic roles & 50–950 ramp

primary
#A7A01F
secondary
#5C61C6
accent
#45EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A7A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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