#A98C28#A98C28

#A98C28 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.9% C 0.119 H 92.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A98C28
RGBrgb(169, 140, 40)
HSLhsl(47, 62%, 41%)
HSVhsv(47, 76%, 66%)
CMYKcmyk(0%, 17.2%, 76.3%, 33.7%)
CIE-LABlab(59.29, 0.55, 54.09)
CIE-LCHlch(59.29, 54.10, 89.41°)
OKLaboklab(64.94% -0.0041 0.1188)
OKLCHoklch(64.94% 0.119 92)
XYZxyz(26.1248, 27.3460, 5.9094)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98C28 #2845A9
analogous
#A94C28 #A98C28 #85A928
triadic
#A98C28 #28A98C #8C28A9
tetradic
#A98C28 #28A94C #2845A9 #A92885
square
#A98C28 #28A94C #2845A9 #A92885
split-complementary
#A98C28 #2885A9 #4C28A9
monochromatic
#463A11 #78631C #A98C28 #D1B03D #DDC46F

Accessibility & contrast

On white

3.25
#A98C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A98C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98C28
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98C28#FFFFFF#000000##000000
##A98C281.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#B78079
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a98c28;
/* rgb */ color: rgb(169, 140, 40);
/* oklch */ color: oklch(64.9% 0.119 92.0);
Tailwind
colors: {
  custom: {
    50: '#c7ad6a',
    500: '#a98c28',
    950: '#000000',
  },
}
SCSS
$custom: #a98c28;
$custom-light: #c7ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a98c28",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 46.512,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.11883,
    "h": 92
  },
  "luminance": 0.27344
}

Semantic roles & 50–950 ramp

primary
#A98C28
secondary
#697EC4
accent
#67E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98C28

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

Preview Lab → · Contrast checker → · Palette generator →

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