#A8AE2F#A8AE2F

#A8AE2F is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.144 H 112.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A8AE2F
RGBrgb(168, 174, 47)
HSLhsl(63, 57%, 43%)
HSVhsv(63, 73%, 68%)
CMYKcmyk(3.4%, 0%, 73%, 31.8%)
CIE-LABlab(68.61, -17.59, 60.39)
CIE-LCHlch(68.61, 62.90, 106.24°)
OKLaboklab(72.34% -0.0545 0.1335)
OKLCHoklch(72.34% 0.144 112.2)
XYZxyz(31.7986, 38.8029, 8.5034)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AE2F #352FAE
analogous
#AE742F #A8AE2F #68AE2F
triadic
#A8AE2F #2FA8AE #AE2FA8
tetradic
#A8AE2F #2FAE74 #352FAE #AE2F68
square
#A8AE2F #2FAE74 #352FAE #AE2F68
split-complementary
#A8AE2F #2F68AE #742FAE
monochromatic
#4B4E15 #797E22 #A8AE2F #C8CF4C #D7DC7C

Accessibility & contrast

On white

2.40
#A8AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A8AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AE2F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AE2F#FFFFFF#000000##000000
##A8AE2F1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#B4A396
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a8ae2f;
/* rgb */ color: rgb(168, 174, 47);
/* oklch */ color: oklch(72.3% 0.144 112.2);
Tailwind
colors: {
  custom: {
    50: '#c5c671',
    500: '#a8ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #a8ae2f;
$custom-light: #c5c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ae2f",
  "rgb": {
    "r": 168,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 62.835,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72335,
    "c": 0.14419,
    "h": 112.2
  },
  "luminance": 0.38802
}

Semantic roles & 50–950 ramp

primary
#A8AE2F
secondary
#7875C4
accent
#47E14E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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