#A98B28#A98B28

#A98B28 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.118 H 91.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A98B28
RGBrgb(169, 139, 40)
HSLhsl(46, 62%, 41%)
HSVhsv(46, 76%, 66%)
CMYKcmyk(0%, 17.8%, 76.3%, 33.7%)
CIE-LABlab(59.03, 1.10, 53.84)
CIE-LCHlch(59.03, 53.85, 88.83°)
OKLaboklab(64.72% -0.0026 0.1182)
OKLCHoklch(64.72% 0.118 91.2)
XYZxyz(25.9793, 27.0551, 5.8609)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B28 #2846A9
analogous
#A94B28 #A98B28 #86A928
triadic
#A98B28 #28A98B #8B28A9
tetradic
#A98B28 #28A94B #2846A9 #A92886
square
#A98B28 #28A94B #2846A9 #A92886
split-complementary
#A98B28 #2886A9 #4B28A9
monochromatic
#463A11 #78621C #A98B28 #D1AF3D #DDC36F

Accessibility & contrast

On white

3.28
#A98B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A98B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98B28
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98B28#FFFFFF#000000##000000
##A98B281.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#A2922E
Tritanopia (blue-blind)
#B77F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b28;
/* rgb */ color: rgb(169, 139, 40);
/* oklch */ color: oklch(64.7% 0.118 91.2);
Tailwind
colors: {
  custom: {
    50: '#c7ac69',
    500: '#a98b28',
    950: '#000000',
  },
}
SCSS
$custom: #a98b28;
$custom-light: #c7ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b28",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 46.047,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.11825,
    "h": 91.2
  },
  "luminance": 0.27053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98B28

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

Preview Lab → · Contrast checker → · Palette generator →

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