#A8A74E#A8A74E

#A8A74E is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.112 H 108.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A8A74E
RGBrgb(168, 167, 78)
HSLhsl(59, 37%, 48%)
HSVhsv(59, 54%, 66%)
CMYKcmyk(0%, 0.6%, 53.6%, 34.1%)
CIE-LABlab(66.91, -11.93, 45.48)
CIE-LCHlch(66.91, 47.02, 104.70°)
OKLaboklab(71.06% -0.0353 0.1064)
OKLCHoklch(71.06% 0.112 108.4)
XYZxyz(31.3431, 36.5131, 12.6029)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A74E #4E4FA8
analogous
#A87A4E #A8A74E #7CA84E
triadic
#A8A74E #4EA8A7 #A74EA8
tetradic
#A8A74E #4EA87A #4E4FA8 #A84E7C
square
#A8A74E #4EA87A #4E4FA8 #A84E7C
split-complementary
#A8A74E #4E7CA8 #7A4EA8
monochromatic
#545427 #7E7D3B #A8A74E #BFBE75 #D2D29E

Accessibility & contrast

On white

2.53
#A8A74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A8A74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A74E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A74E#FFFFFF#000000##000000
##A8A74E1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A145
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#B39E93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a74e;
/* rgb */ color: rgb(168, 167, 78);
/* oklch */ color: oklch(71.1% 0.112 108.4);
Tailwind
colors: {
  custom: {
    50: '#c4c182',
    500: '#a8a74e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a74e;
$custom-light: #c4c182;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a74e",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 78
  },
  "hsl": {
    "h": 59.333,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71061,
    "c": 0.11212,
    "h": 108.4
  },
  "luminance": 0.36512
}

Semantic roles & 50–950 ramp

primary
#A8A74E
secondary
#9393BF
accent
#5CCD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A74E

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

Preview Lab → · Contrast checker → · Palette generator →

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