#A98D38#A98D38

#A98D38 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.3% C 0.108 H 90.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A98D38
RGBrgb(169, 141, 56)
HSLhsl(45, 50%, 44%)
HSVhsv(45, 67%, 66%)
CMYKcmyk(0%, 16.6%, 66.9%, 33.7%)
CIE-LABlab(59.68, 0.85, 47.78)
CIE-LCHlch(59.68, 47.79, 88.99°)
OKLaboklab(65.28% -0.0014 0.1084)
OKLCHoklch(65.28% 0.108 90.7)
XYZxyz(26.6022, 27.7718, 7.6999)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98D38 #3854A9
analogous
#A95538 #A98D38 #8DA938
triadic
#A98D38 #38A98D #8D38A9
tetradic
#A98D38 #38A955 #3854A9 #A9388D
square
#A98D38 #38A955 #3854A9 #A9388D
split-complementary
#A98D38 #388DA9 #5538A9
monochromatic
#4D401A #7B6729 #A98D38 #C7AB57 #D7C285

Accessibility & contrast

On white

3.20
#A98D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A98D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98D38
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98D38#FFFFFF#000000##000000
##A98D381.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2E
Deuteranopia (green-blind)
#A3933C
Tritanopia (blue-blind)
#B6827B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a98d38;
/* rgb */ color: rgb(169, 141, 56);
/* oklch */ color: oklch(65.3% 0.108 90.7);
Tailwind
colors: {
  custom: {
    50: '#c6ae73',
    500: '#a98d38',
    950: '#000000',
  },
}
SCSS
$custom: #a98d38;
$custom-light: #c6ae73;
$custom-dark: #000000;
JSON
{
  "hex": "#a98d38",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 45.133,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.10838,
    "h": 90.7
  },
  "luminance": 0.2777
}

Semantic roles & 50–950 ramp

primary
#A98D38
secondary
#7C8DC0
accent
#71DA4E
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#131008
muted
#827F7B

Preview Lab

Preview with #A98D38

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

Preview Lab → · Contrast checker → · Palette generator →

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