#A8A13F#A8A13F

#A8A13F is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.119 H 105.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A8A13F
RGBrgb(168, 161, 63)
HSLhsl(56, 45%, 45%)
HSVhsv(56, 63%, 66%)
CMYKcmyk(0%, 4.2%, 62.5%, 34.1%)
CIE-LABlab(65.10, -9.93, 50.42)
CIE-LCHlch(65.10, 51.39, 101.14°)
OKLaboklab(69.57% -0.0313 0.1151)
OKLCHoklch(69.57% 0.119 105.2)
XYZxyz(29.7916, 34.1745, 9.7287)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A13F #3F46A8
analogous
#A86C3F #A8A13F #7AA83F
triadic
#A8A13F #3FA8A1 #A13FA8
tetradic
#A8A13F #3FA86C #3F46A8 #A83F7A
square
#A8A13F #3FA86C #3F46A8 #A83F7A
split-complementary
#A8A13F #3F7AA8 #6C3FA8
monochromatic
#4F4C1E #7B762E #A8A13F #C4BD61 #D4D08D

Accessibility & contrast

On white

2.68
#A8A13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A8A13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A13F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A13F#FFFFFF#000000##000000
##A8A13F1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B33
Deuteranopia (green-blind)
#B1A045
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a13f;
/* rgb */ color: rgb(168, 161, 63);
/* oklch */ color: oklch(69.6% 0.119 105.2);
Tailwind
colors: {
  custom: {
    50: '#c5bc78',
    500: '#a8a13f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a13f;
$custom-light: #c5bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a13f",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 63
  },
  "hsl": {
    "h": 56,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.11925,
    "h": 105.2
  },
  "luminance": 0.34173
}

Semantic roles & 50–950 ramp

primary
#A8A13F
secondary
#8488BF
accent
#5BD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A13F

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

Preview Lab → · Contrast checker → · Palette generator →

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