#A8AF34#A8AF34

#A8AF34 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.142 H 112.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A8AF34
RGBrgb(168, 175, 52)
HSLhsl(63, 54%, 45%)
HSVhsv(63, 70%, 69%)
CMYKcmyk(4%, 0%, 70.3%, 31.4%)
CIE-LABlab(68.92, -17.84, 58.88)
CIE-LCHlch(68.92, 61.52, 106.86°)
OKLaboklab(72.59% -0.0547 0.1312)
OKLCHoklch(72.59% 0.142 112.7)
XYZxyz(32.0992, 39.2334, 9.1300)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF34 #3B34AF
analogous
#AF7934 #A8AF34 #6AAF34
triadic
#A8AF34 #34A8AF #AF34A8
tetradic
#A8AF34 #34AF79 #3B34AF #AF346A
square
#A8AF34 #34AF79 #3B34AF #AF346A
split-complementary
#A8AF34 #346AAF #7934AF
monochromatic
#4D5118 #7B8026 #A8AF34 #C5CC54 #D5DA83

Accessibility & contrast

On white

2.37
#A8AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A8AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF34
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF34#FFFFFF#000000##000000
##A8AF341.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71F
Deuteranopia (green-blind)
#BCAA3D
Tritanopia (blue-blind)
#B3A497
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af34;
/* rgb */ color: rgb(168, 175, 52);
/* oklch */ color: oklch(72.6% 0.142 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c674',
    500: '#a8af34',
    950: '#000000',
  },
}
SCSS
$custom: #a8af34;
$custom-light: #c5c674;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af34",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 63.415,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72594,
    "c": 0.14213,
    "h": 112.7
  },
  "luminance": 0.39233
}

Semantic roles & 50–950 ramp

primary
#A8AF34
secondary
#7F7BC4
accent
#4ADE53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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