#A8A42C#A8A42C

#A8A42C is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.136 H 107.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A8A42C
RGBrgb(168, 164, 44)
HSLhsl(58, 58%, 42%)
HSVhsv(58, 74%, 66%)
CMYKcmyk(0%, 2.4%, 73.8%, 34.1%)
CIE-LABlab(65.79, -12.58, 58.77)
CIE-LCHlch(65.79, 60.10, 102.09°)
OKLaboklab(70.08% -0.0408 0.1295)
OKLCHoklch(70.08% 0.136 107.5)
XYZxyz(29.8797, 35.0586, 7.5754)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A42C #2C30A8
analogous
#A8662C #A8A42C #6EA82C
triadic
#A8A42C #2CA8A4 #A42CA8
tetradic
#A8A42C #2CA866 #2C30A8 #A82C6E
square
#A8A42C #2CA866 #2C30A8 #A82C6E
split-complementary
#A8A42C #2C6EA8 #662CA8
monochromatic
#474513 #78751F #A8A42C #CEC943 #DBD774

Accessibility & contrast

On white

2.62
#A8A42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A8A42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A42C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A42C#FFFFFF#000000##000000
##A8A42C1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D14
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#B4998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a42c;
/* rgb */ color: rgb(168, 164, 44);
/* oklch */ color: oklch(70.1% 0.136 107.5);
Tailwind
colors: {
  custom: {
    50: '#c5be6e',
    500: '#a8a42c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a42c;
$custom-light: #c5be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a42c",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 58.065,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.13579,
    "h": 107.5
  },
  "luminance": 0.35058
}

Semantic roles & 50–950 ramp

primary
#A8A42C
secondary
#6E70C2
accent
#4BE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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