#A7A01E#A7A01E

#A7A01E 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#A7A01E
RGBrgb(167, 160, 30)
HSLhsl(57, 70%, 39%)
HSVhsv(57, 82%, 65%)
CMYKcmyk(0%, 4.2%, 82%, 34.5%)
CIE-LABlab(64.53, -11.48, 62.01)
CIE-LCHlch(64.53, 63.07, 100.49°)
OKLaboklab(69.03% -0.0389 0.1338)
OKLCHoklch(69.03% 0.139 106.2)
XYZxyz(28.7428, 33.4519, 6.1709)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A01E #1E25A7
analogous
#A75B1E #A7A01E #69A71E
triadic
#A7A01E #1EA7A0 #A01EA7
tetradic
#A7A01E #1EA75B #1E25A7 #A71E69
square
#A7A01E #1EA75B #1E25A7 #A71E69
split-complementary
#A7A01E #1E69A7 #5B1EA7
monochromatic
#3F3D0B #736E15 #A7A01E #D9D02A #E2DB5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A01E#FFFFFF#000000##000000
##A7A01E1.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)
#B19F2A
Tritanopia (blue-blind)
#B49589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a7a01e;
/* rgb */ color: rgb(167, 160, 30);
/* oklch */ color: oklch(69.0% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#c5bb67',
    500: '#a7a01e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a01e;
$custom-light: #c5bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a01e",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 56.934,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69026,
    "c": 0.13937,
    "h": 106.2
  },
  "luminance": 0.33451
}

Semantic roles & 50–950 ramp

primary
#A7A01E
secondary
#5B60C6
accent
#44EC3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A7A01E

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

Preview Lab → · Contrast checker → · Palette generator →

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