#A0AF2F#A0AF2F

#A0AF2F is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.148 H 116.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#A0AF2F
RGBrgb(160, 175, 47)
HSLhsl(67, 58%, 44%)
HSVhsv(67, 73%, 69%)
CMYKcmyk(8.6%, 0%, 73.1%, 31.4%)
CIE-LABlab(68.27, -21.51, 59.85)
CIE-LCHlch(68.27, 63.60, 109.77°)
OKLaboklab(71.91% -0.065 0.1326)
OKLCHoklch(71.91% 0.148 116.1)
XYZxyz(30.3410, 38.3392, 8.4906)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF2F #3E2FAF
analogous
#AF7E2F #A0AF2F #60AF2F
triadic
#A0AF2F #2FA0AF #AF2FA0
tetradic
#A0AF2F #2FAF7E #3E2FAF #AF2F60
square
#A0AF2F #2FAF7E #3E2FAF #AF2F60
split-complementary
#A0AF2F #2F60AF #7E2FAF
monochromatic
#484F15 #747F22 #A0AF2F #C0CF4C #D1DC7C

Accessibility & contrast

On white

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

On black

8.67
#A0AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AF2F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AF2F#FFFFFF#000000##000000
##A0AF2F1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#AAA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af2f;
/* rgb */ color: rgb(160, 175, 47);
/* oklch */ color: oklch(71.9% 0.148 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc671',
    500: '#a0af2f',
    950: '#000000',
  },
}
SCSS
$custom: #a0af2f;
$custom-light: #bfc671;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af2f",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 67.031,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71909,
    "c": 0.14767,
    "h": 116.1
  },
  "luminance": 0.38339
}

Semantic roles & 50–950 ramp

primary
#A0AF2F
secondary
#7F75C4
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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