#A98B27#A98B27

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

Color values

HEX#A98B27
RGBrgb(169, 139, 39)
HSLhsl(46, 63%, 41%)
HSVhsv(46, 77%, 66%)
CMYKcmyk(0%, 17.8%, 76.9%, 33.7%)
CIE-LABlab(59.02, 1.06, 54.21)
CIE-LCHlch(59.02, 54.22, 88.88°)
OKLaboklab(64.72% -0.0028 0.1188)
OKLCHoklch(64.72% 0.119 91.3)
XYZxyz(25.9625, 27.0483, 5.7724)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B27 #2745A9
analogous
#A94A27 #A98B27 #86A927
triadic
#A98B27 #27A98B #8B27A9
tetradic
#A98B27 #27A94A #2745A9 #A92786
square
#A98B27 #27A94A #2745A9 #A92786
split-complementary
#A98B27 #2786A9 #4A27A9
monochromatic
#463910 #77621C #A98B27 #D2AF3B #DDC36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98B27#FFFFFF#000000##000000
##A98B271.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)
#9B8915
Deuteranopia (green-blind)
#A2922D
Tritanopia (blue-blind)
#B77F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b27;
/* rgb */ color: rgb(169, 139, 39);
/* oklch */ color: oklch(64.7% 0.119 91.3);
Tailwind
colors: {
  custom: {
    50: '#c7ac69',
    500: '#a98b27',
    950: '#000000',
  },
}
SCSS
$custom: #a98b27;
$custom-light: #c7ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b27",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 46.154,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64717,
    "c": 0.11883,
    "h": 91.3
  },
  "luminance": 0.27047
}

Semantic roles & 50–950 ramp

primary
#A98B27
secondary
#687DC4
accent
#68E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98B27

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

Preview Lab → · Contrast checker → · Palette generator →

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