#A8AF2C#A8AF2C

#A8AF2C is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.147 H 112.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A8AF2C
RGBrgb(168, 175, 44)
HSLhsl(63, 60%, 43%)
HSVhsv(63, 75%, 69%)
CMYKcmyk(4%, 0%, 74.9%, 31.4%)
CIE-LABlab(68.87, -18.23, 61.67)
CIE-LCHlch(68.87, 64.31, 106.47°)
OKLaboklab(72.54% -0.0566 0.1357)
OKLCHoklch(72.54% 0.147 112.6)
XYZxyz(31.9341, 39.1674, 8.2602)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF2C #332CAF
analogous
#AF742C #A8AF2C #66AF2C
triadic
#A8AF2C #2CA8AF #AF2CA8
tetradic
#A8AF2C #2CAF74 #332CAF #AF2C66
square
#A8AF2C #2CAF74 #332CAF #AF2C66
split-complementary
#A8AF2C #2C66AF #742CAF
monochromatic
#4A4D13 #797E20 #A8AF2C #C9D147 #D8DD78

Accessibility & contrast

On white

2.38
#A8AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A8AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF2C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF2C#FFFFFF#000000##000000
##A8AF2C1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA70E
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af2c;
/* rgb */ color: rgb(168, 175, 44);
/* oklch */ color: oklch(72.5% 0.147 112.6);
Tailwind
colors: {
  custom: {
    50: '#c5c670',
    500: '#a8af2c',
    950: '#000000',
  },
}
SCSS
$custom: #a8af2c;
$custom-light: #c5c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af2c",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 63.206,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72541,
    "c": 0.14698,
    "h": 112.6
  },
  "luminance": 0.39167
}

Semantic roles & 50–950 ramp

primary
#A8AF2C
secondary
#7672C5
accent
#45E34D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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