#A98B25#A98B25

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

Color values

HEX#A98B25
RGBrgb(169, 139, 37)
HSLhsl(46, 64%, 40%)
HSVhsv(46, 78%, 66%)
CMYKcmyk(0%, 17.8%, 78.1%, 33.7%)
CIE-LABlab(59.01, 0.98, 54.93)
CIE-LCHlch(59.01, 54.94, 88.98°)
OKLaboklab(64.7% -0.0032 0.1199)
OKLCHoklch(64.7% 0.12 91.5)
XYZxyz(25.9302, 27.0354, 5.6025)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B25 #2543A9
analogous
#A94925 #A98B25 #85A925
triadic
#A98B25 #25A98B #8B25A9
tetradic
#A98B25 #25A949 #2543A9 #A92585
square
#A98B25 #25A949 #2543A9 #A92585
split-complementary
#A98B25 #2585A9 #4925A9
monochromatic
#45380F #77621A #A98B25 #D3B038 #DEC46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98B25#FFFFFF#000000##000000
##A98B251.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)
#9B8911
Deuteranopia (green-blind)
#A2922B
Tritanopia (blue-blind)
#B77F77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b25;
/* rgb */ color: rgb(169, 139, 37);
/* oklch */ color: oklch(64.7% 0.120 91.5);
Tailwind
colors: {
  custom: {
    50: '#c7ac68',
    500: '#a98b25',
    950: '#000000',
  },
}
SCSS
$custom: #a98b25;
$custom-light: #c7ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b25",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 46.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64704,
    "c": 0.11996,
    "h": 91.5
  },
  "luminance": 0.27034
}

Semantic roles & 50–950 ramp

primary
#A98B25
secondary
#657BC4
accent
#67E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98B25

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

Preview Lab → · Contrast checker → · Palette generator →

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