#A8A13D#A8A13D

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

Color values

HEX#A8A13D
RGBrgb(168, 161, 61)
HSLhsl(56, 47%, 45%)
HSVhsv(56, 64%, 66%)
CMYKcmyk(0%, 4.2%, 63.7%, 34.1%)
CIE-LABlab(65.08, -10.06, 51.28)
CIE-LCHlch(65.08, 52.26, 101.10°)
OKLaboklab(69.55% -0.0319 0.1166)
OKLCHoklch(69.55% 0.121 105.3)
XYZxyz(29.7367, 34.1525, 9.4397)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A13D #3D44A8
analogous
#A86C3D #A8A13D #79A83D
triadic
#A8A13D #3DA8A1 #A13DA8
tetradic
#A8A13D #3DA86C #3D44A8 #A83D79
square
#A8A13D #3DA86C #3D44A8 #A83D79
split-complementary
#A8A13D #3D79A8 #6C3DA8
monochromatic
#4E4B1C #7B762D #A8A13D #C4BE5E #D5D08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A13D#FFFFFF#000000##000000
##A8A13D1.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)
#AE9B31
Deuteranopia (green-blind)
#B1A043
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a13d;
/* rgb */ color: rgb(168, 161, 61);
/* oklch */ color: oklch(69.6% 0.121 105.3);
Tailwind
colors: {
  custom: {
    50: '#c5bc77',
    500: '#a8a13d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a13d;
$custom-light: #c5bc77;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a13d",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 61
  },
  "hsl": {
    "h": 56.075,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69553,
    "c": 0.12089,
    "h": 105.3
  },
  "luminance": 0.34151
}

Semantic roles & 50–950 ramp

primary
#A8A13D
secondary
#8186BF
accent
#5AD651
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A13D

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

Preview Lab → · Contrast checker → · Palette generator →

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