#A7AF30#A7AF30

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

Color values

HEX#A7AF30
RGBrgb(167, 175, 48)
HSLhsl(64, 57%, 44%)
HSVhsv(64, 73%, 69%)
CMYKcmyk(4.6%, 0%, 72.6%, 31.4%)
CIE-LABlab(68.82, -18.47, 60.21)
CIE-LCHlch(68.82, 62.98, 107.06°)
OKLaboklab(72.48% -0.0568 0.1333)
OKLCHoklch(72.48% 0.145 113.1)
XYZxyz(31.8008, 39.0895, 8.6656)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF30 #3830AF
analogous
#AF7730 #A7AF30 #67AF30
triadic
#A7AF30 #30A7AF #AF30A7
tetradic
#A7AF30 #30AF77 #3830AF #AF3067
square
#A7AF30 #30AF77 #3830AF #AF3067
split-complementary
#A7AF30 #3067AF #7730AF
monochromatic
#4B4F16 #797F23 #A7AF30 #C6CE4E #D6DC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AF30#FFFFFF#000000##000000
##A7AF301.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)
#BCA718
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#B2A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af30;
/* rgb */ color: rgb(167, 175, 48);
/* oklch */ color: oklch(72.5% 0.145 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c671',
    500: '#a7af30',
    950: '#000000',
  },
}
SCSS
$custom: #a7af30;
$custom-light: #c4c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af30",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 63.78,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72483,
    "c": 0.14492,
    "h": 113.1
  },
  "luminance": 0.39089
}

Semantic roles & 50–950 ramp

primary
#A7AF30
secondary
#7B76C4
accent
#48E051
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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