#A0AF38#A0AF38

#A0AF38 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.0% C 0.142 H 116.3°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#A0AF38
RGBrgb(160, 175, 56)
HSLhsl(68, 52%, 45%)
HSVhsv(68, 68%, 69%)
CMYKcmyk(8.6%, 0%, 68%, 31.4%)
CIE-LABlab(68.33, -21.02, 56.54)
CIE-LCHlch(68.33, 60.32, 110.39°)
OKLaboklab(71.97% -0.0627 0.1271)
OKLCHoklch(71.97% 0.142 116.3)
XYZxyz(30.5417, 38.4195, 9.5474)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF38 #4738AF
analogous
#AF8238 #A0AF38 #64AF38
triadic
#A0AF38 #38A0AF #AF38A0
tetradic
#A0AF38 #38AF82 #4738AF #AF3864
square
#A0AF38 #38AF82 #4738AF #AF3864
split-complementary
#A0AF38 #3864AF #8238AF
monochromatic
#4B521A #768129 #A0AF38 #BCCA5A #CFD988

Accessibility & contrast

On white

2.42
#A0AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#A0AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AF38
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AF38#FFFFFF#000000##000000
##A0AF381.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#BAA741
Tritanopia (blue-blind)
#AAA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a0af38;
/* rgb */ color: rgb(160, 175, 56);
/* oklch */ color: oklch(72.0% 0.142 116.3);
Tailwind
colors: {
  custom: {
    50: '#bfc676',
    500: '#a0af38',
    950: '#000000',
  },
}
SCSS
$custom: #a0af38;
$custom-light: #bfc676;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af38",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 67.563,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71975,
    "c": 0.14177,
    "h": 116.3
  },
  "luminance": 0.38419
}

Semantic roles & 50–950 ramp

primary
#A0AF38
secondary
#8880C3
accent
#4DDB5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A0AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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