#A7A33B#A7A33B

#A7A33B is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.125 H 107.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A7A33B
RGBrgb(167, 163, 59)
HSLhsl(58, 48%, 44%)
HSVhsv(58, 65%, 65%)
CMYKcmyk(0%, 2.4%, 64.7%, 34.5%)
CIE-LABlab(65.54, -11.68, 52.60)
CIE-LCHlch(65.54, 53.88, 102.52°)
OKLaboklab(69.89% -0.0366 0.1191)
OKLCHoklch(69.89% 0.125 107.1)
XYZxyz(29.8240, 34.7266, 9.2687)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A33B #3B3FA7
analogous
#A76D3B #A7A33B #75A73B
triadic
#A7A33B #3BA7A3 #A33BA7
tetradic
#A7A33B #3BA76D #3B3FA7 #A73B75
square
#A7A33B #3BA76D #3B3FA7 #A73B75
split-complementary
#A7A33B #3B75A7 #6D3BA7
monochromatic
#4D4B1B #7A772B #A7A33B #C5C15A #D5D288

Accessibility & contrast

On white

2.64
#A7A33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A7A33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A33B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A33B#FFFFFF#000000##000000
##A7A33B1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2E
Deuteranopia (green-blind)
#B2A141
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a33b;
/* rgb */ color: rgb(167, 163, 59);
/* oklch */ color: oklch(69.9% 0.125 107.1);
Tailwind
colors: {
  custom: {
    50: '#c4be76',
    500: '#a7a33b',
    950: '#000000',
  },
}
SCSS
$custom: #a7a33b;
$custom-light: #c4be76;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a33b",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 57.778,
    "s": 47.788,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69887,
    "c": 0.12462,
    "h": 107.1
  },
  "luminance": 0.34726
}

Semantic roles & 50–950 ramp

primary
#A7A33B
secondary
#7F81BF
accent
#55D750
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A33B

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

Preview Lab → · Contrast checker → · Palette generator →

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