#A8A258#A8A258

#A8A258 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.096 H 104.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A8A258
RGBrgb(168, 162, 88)
HSLhsl(56, 31%, 50%)
HSVhsv(56, 48%, 66%)
CMYKcmyk(0%, 3.6%, 47.6%, 34.1%)
CIE-LABlab(65.65, -8.38, 39.02)
CIE-LCHlch(65.65, 39.91, 102.13°)
OKLaboklab(70.1% -0.0241 0.0932)
OKLCHoklch(70.1% 0.096 104.5)
XYZxyz(30.8310, 34.8710, 14.3373)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A258 #585EA8
analogous
#A87A58 #A8A258 #86A858
triadic
#A8A258 #58A8A2 #A258A8
tetradic
#A8A258 #58A87A #585EA8 #A85886
square
#A8A258 #58A87A #585EA8 #A85886
split-complementary
#A8A258 #5886A8 #7A58A8
monochromatic
#58552E #807B43 #A8A258 #BDB880 #D2CFA8

Accessibility & contrast

On white

2.63
#A8A258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A8A258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A258
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A258#FFFFFF#000000##000000
##A8A2581.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D52
Deuteranopia (green-blind)
#B0A15B
Tritanopia (blue-blind)
#B29991
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a258;
/* rgb */ color: rgb(168, 162, 88);
/* oklch */ color: oklch(70.1% 0.096 104.5);
Tailwind
colors: {
  custom: {
    50: '#c3bd89',
    500: '#a8a258',
    950: '#000000',
  },
}
SCSS
$custom: #a8a258;
$custom-light: #c3bd89;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a258",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 55.5,
    "s": 31.496,
    "l": 50.196
  },
  "oklch": {
    "l": 0.70095,
    "c": 0.0963,
    "h": 104.5
  },
  "luminance": 0.3487
}

Semantic roles & 50–950 ramp

primary
#A8A258
secondary
#9C9FC0
accent
#68C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A258

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

Preview Lab → · Contrast checker → · Palette generator →

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