#A7A323#A7A323

#A7A323 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.140 H 107.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A7A323
RGBrgb(167, 163, 35)
HSLhsl(58, 65%, 40%)
HSVhsv(58, 79%, 65%)
CMYKcmyk(0%, 2.4%, 79%, 34.5%)
CIE-LABlab(65.38, -12.88, 61.32)
CIE-LCHlch(65.38, 62.66, 101.86°)
OKLaboklab(69.72% -0.0424 0.1333)
OKLCHoklch(69.72% 0.14 107.6)
XYZxyz(29.3381, 34.5322, 6.7098)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A323 #2327A7
analogous
#A76123 #A7A323 #69A723
triadic
#A7A323 #23A7A3 #A323A7
tetradic
#A7A323 #23A761 #2327A7 #A72369
square
#A7A323 #23A761 #2327A7 #A72369
split-complementary
#A7A323 #2369A7 #6123A7
monochromatic
#42400E #747218 #A7A323 #D4CF33 #DFDB66

Accessibility & contrast

On white

2.66
#A7A323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A7A323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A323
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A323#FFFFFF#000000##000000
##A7A3231.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A12E
Tritanopia (blue-blind)
#B4988B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a323;
/* rgb */ color: rgb(167, 163, 35);
/* oklch */ color: oklch(69.7% 0.140 107.6);
Tailwind
colors: {
  custom: {
    50: '#c5bd6a',
    500: '#a7a323',
    950: '#000000',
  },
}
SCSS
$custom: #a7a323;
$custom-light: #c5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a323",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 58.182,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69717,
    "c": 0.13986,
    "h": 107.6
  },
  "luminance": 0.34531
}

Semantic roles & 50–950 ramp

primary
#A7A323
secondary
#6164C4
accent
#45E83F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A323

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

Preview Lab → · Contrast checker → · Palette generator →

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