#A8A11F#A8A11F

#A8A11F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.140 H 106.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A8A11F
RGBrgb(168, 161, 31)
HSLhsl(57, 69%, 39%)
HSVhsv(57, 82%, 66%)
CMYKcmyk(0%, 4.2%, 81.5%, 34.1%)
CIE-LABlab(64.89, -11.53, 62.09)
CIE-LCHlch(64.89, 63.15, 100.52°)
OKLaboklab(69.34% -0.039 0.1341)
OKLCHoklch(69.34% 0.14 106.2)
XYZxyz(29.1419, 33.9146, 6.3072)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A11F #1F26A8
analogous
#A85D1F #A8A11F #6BA81F
triadic
#A8A11F #1FA8A1 #A11FA8
tetradic
#A8A11F #1FA85D #1F26A8 #A81F6B
square
#A8A11F #1FA85D #1F26A8 #A81F6B
split-complementary
#A8A11F #1F6BA8 #5D1FA8
monochromatic
#413E0C #746F15 #A8A11F #D8CF2C #E2DB60

Accessibility & contrast

On white

2.70
#A8A11F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A8A11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A11F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A11F#FFFFFF#000000##000000
##A8A11F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02B
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a11f;
/* rgb */ color: rgb(168, 161, 31);
/* oklch */ color: oklch(69.3% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#c6bc68',
    500: '#a8a11f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a11f;
$custom-light: #c6bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a11f",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 56.934,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69342,
    "c": 0.13969,
    "h": 106.2
  },
  "luminance": 0.33913
}

Semantic roles & 50–950 ramp

primary
#A8A11F
secondary
#5D62C6
accent
#45EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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