#A8AF1E#A8AF1E

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

Color values

HEX#A8AF1E
RGBrgb(168, 175, 30)
HSLhsl(63, 71%, 40%)
HSVhsv(63, 83%, 69%)
CMYKcmyk(4%, 0%, 82.9%, 31.4%)
CIE-LABlab(68.81, -18.76, 65.72)
CIE-LCHlch(68.81, 68.34, 105.93°)
OKLaboklab(72.47% -0.0591 0.1418)
OKLCHoklch(72.47% 0.154 112.6)
XYZxyz(31.7139, 39.0793, 7.1005)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF1E #251EAF
analogous
#AF6E1E #A8AF1E #5FAF1E
triadic
#A8AF1E #1EA8AF #AF1EA8
tetradic
#A8AF1E #1EAF6E #251EAF #AF1E5F
square
#A8AF1E #1EAF6E #251EAF #AF1E5F
split-complementary
#A8AF1E #1E5FAF #6E1EAF
monochromatic
#44470C #767B15 #A8AF1E #D3DB2F #DEE463

Accessibility & contrast

On white

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

On black

8.82
#A8AF1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF1E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF1E#FFFFFF#000000##000000
##A8AF1E1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BDA92D
Tritanopia (blue-blind)
#B4A495
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af1e;
/* rgb */ color: rgb(168, 175, 30);
/* oklch */ color: oklch(72.5% 0.154 112.6);
Tailwind
colors: {
  custom: {
    50: '#c6c66a',
    500: '#a8af1e',
    950: '#000000',
  },
}
SCSS
$custom: #a8af1e;
$custom-light: #c6c66a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af1e",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 30
  },
  "hsl": {
    "h": 62.897,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72469,
    "c": 0.15364,
    "h": 112.6
  },
  "luminance": 0.39079
}

Semantic roles & 50–950 ramp

primary
#A8AF1E
secondary
#6560C9
accent
#3AED43
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A8AF1E

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

Preview Lab → · Contrast checker → · Palette generator →

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