#A7A333#A7A333

#A7A333 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.130 H 107.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A7A333
RGBrgb(167, 163, 51)
HSLhsl(58, 53%, 43%)
HSVhsv(58, 69%, 65%)
CMYKcmyk(0%, 2.4%, 69.5%, 34.5%)
CIE-LABlab(65.48, -12.15, 55.81)
CIE-LCHlch(65.48, 57.12, 102.28°)
OKLaboklab(69.82% -0.0388 0.1246)
OKLCHoklch(69.82% 0.13 107.3)
XYZxyz(29.6322, 34.6499, 8.2585)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A333 #3337A7
analogous
#A76933 #A7A333 #71A733
triadic
#A7A333 #33A7A3 #A333A7
tetradic
#A7A333 #33A769 #3337A7 #A73371
square
#A7A333 #33A769 #3337A7 #A73371
split-complementary
#A7A333 #3371A7 #6933A7
monochromatic
#494716 #787525 #A7A333 #C9C54E #D7D47D

Accessibility & contrast

On white

2.65
#A7A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A7A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A333
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A333#FFFFFF#000000##000000
##A7A3331.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D22
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#B3988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a333;
/* rgb */ color: rgb(167, 163, 51);
/* oklch */ color: oklch(69.8% 0.130 107.3);
Tailwind
colors: {
  custom: {
    50: '#c4be72',
    500: '#a7a333',
    950: '#000000',
  },
}
SCSS
$custom: #a7a333;
$custom-light: #c4be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a333",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 57.931,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6982,
    "c": 0.13048,
    "h": 107.3
  },
  "luminance": 0.34649
}

Semantic roles & 50–950 ramp

primary
#A7A333
secondary
#7678C0
accent
#50DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A333

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

Preview Lab → · Contrast checker → · Palette generator →

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