#A8A13E#A8A13E

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

Color values

HEX#A8A13E
RGBrgb(168, 161, 62)
HSLhsl(56, 46%, 45%)
HSVhsv(56, 63%, 66%)
CMYKcmyk(0%, 4.2%, 63.1%, 34.1%)
CIE-LABlab(65.09, -10.00, 50.85)
CIE-LCHlch(65.09, 51.82, 101.12°)
OKLaboklab(69.56% -0.0316 0.1158)
OKLCHoklch(69.56% 0.12 105.3)
XYZxyz(29.7639, 34.1634, 9.5829)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A13E #3E45A8
analogous
#A86C3E #A8A13E #7AA83E
triadic
#A8A13E #3EA8A1 #A13EA8
tetradic
#A8A13E #3EA86C #3E45A8 #A83E7A
square
#A8A13E #3EA86C #3E45A8 #A83E7A
split-complementary
#A8A13E #3E7AA8 #6C3EA8
monochromatic
#4F4B1D #7B762E #A8A13E #C4BD5F #D5D08C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A13E#FFFFFF#000000##000000
##A8A13E1.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)
#AE9B32
Deuteranopia (green-blind)
#B1A044
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a13e;
/* rgb */ color: rgb(168, 161, 62);
/* oklch */ color: oklch(69.6% 0.120 105.3);
Tailwind
colors: {
  custom: {
    50: '#c5bc78',
    500: '#a8a13e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a13e;
$custom-light: #c5bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a13e",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 56.038,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69563,
    "c": 0.12008,
    "h": 105.3
  },
  "luminance": 0.34162
}

Semantic roles & 50–950 ramp

primary
#A8A13E
secondary
#8387BF
accent
#5BD652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A13E

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

Preview Lab → · Contrast checker → · Palette generator →

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