#A98F27#A98F27

#A98F27 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.6% C 0.121 H 94.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A98F27
RGBrgb(169, 143, 39)
HSLhsl(48, 63%, 41%)
HSVhsv(48, 77%, 66%)
CMYKcmyk(0%, 15.4%, 76.9%, 33.7%)
CIE-LABlab(60.09, -1.13, 55.22)
CIE-LCHlch(60.09, 55.23, 91.18°)
OKLaboklab(65.57% -0.0091 0.121)
OKLCHoklch(65.57% 0.121 94.3)
XYZxyz(26.5523, 28.2279, 5.9690)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F27 #2741A9
analogous
#A94E27 #A98F27 #82A927
triadic
#A98F27 #27A98F #8F27A9
tetradic
#A98F27 #27A94E #2741A9 #A92782
square
#A98F27 #27A94E #2741A9 #A92782
split-complementary
#A98F27 #2782A9 #4E27A9
monochromatic
#463B10 #77651C #A98F27 #D2B43B #DDC76D

Accessibility & contrast

On white

3.16
#A98F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A98F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98F27
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98F27#FFFFFF#000000##000000
##A98F271.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C13
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#B7837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f27;
/* rgb */ color: rgb(169, 143, 39);
/* oklch */ color: oklch(65.6% 0.121 94.3);
Tailwind
colors: {
  custom: {
    50: '#c7af69',
    500: '#a98f27',
    950: '#000000',
  },
}
SCSS
$custom: #a98f27;
$custom-light: #c7af69;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f27",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 48,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65566,
    "c": 0.12129,
    "h": 94.3
  },
  "luminance": 0.28226
}

Semantic roles & 50–950 ramp

primary
#A98F27
secondary
#687AC4
accent
#63E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98F27

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

Preview Lab → · Contrast checker → · Palette generator →

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