#A0AF4E#A0AF4E

#A0AF4E is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.124 H 116.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A0AF4E
RGBrgb(160, 175, 78)
HSLhsl(69, 38%, 50%)
HSVhsv(69, 55%, 69%)
CMYKcmyk(8.6%, 0%, 55.4%, 31.4%)
CIE-LABlab(68.52, -19.39, 47.17)
CIE-LCHlch(68.52, 51.00, 112.35°)
OKLaboklab(72.19% -0.056 0.1102)
OKLCHoklch(72.19% 0.124 116.9)
XYZxyz(31.2028, 38.6839, 13.0292)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF4E #5D4EAF
analogous
#AF8D4E #A0AF4E #70AF4E
triadic
#A0AF4E #4EA0AF #AF4EA0
tetradic
#A0AF4E #4EAF8D #5D4EAF #AF4E70
square
#A0AF4E #4EAF8D #5D4EAF #AF4E70
split-complementary
#A0AF4E #4E70AF #8D4EAF
monochromatic
#535A28 #79853B #A0AF4E #B7C378 #CED6A2

Accessibility & contrast

On white

2.40
#A0AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#A0AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AF4E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AF4E#FFFFFF#000000##000000
##A0AF4E1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#B8A854
Tritanopia (blue-blind)
#A9A69A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a0af4e;
/* rgb */ color: rgb(160, 175, 78);
/* oklch */ color: oklch(72.2% 0.124 116.9);
Tailwind
colors: {
  custom: {
    50: '#bec683',
    500: '#a0af4e',
    950: '#000000',
  },
}
SCSS
$custom: #a0af4e;
$custom-light: #bec683;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af4e",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 69.278,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72192,
    "c": 0.12359,
    "h": 116.9
  },
  "luminance": 0.38684
}

Semantic roles & 50–950 ramp

primary
#A0AF4E
secondary
#9D96C3
accent
#5ACE6C
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A0AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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