#A0AF2C#A0AF2C

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

Color values

HEX#A0AF2C
RGBrgb(160, 175, 44)
HSLhsl(67, 60%, 43%)
HSVhsv(67, 75%, 69%)
CMYKcmyk(8.6%, 0%, 74.9%, 31.4%)
CIE-LABlab(68.25, -21.66, 60.86)
CIE-LCHlch(68.25, 64.60, 109.59°)
OKLaboklab(71.89% -0.0656 0.1342)
OKLCHoklch(71.89% 0.149 116.1)
XYZxyz(30.2826, 38.3158, 8.1828)
Luminance0.3831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF2C #3B2CAF
analogous
#AF7C2C #A0AF2C #5FAF2C
triadic
#A0AF2C #2CA0AF #AF2CA0
tetradic
#A0AF2C #2CAF7C #3B2CAF #AF2C5F
square
#A0AF2C #2CAF7C #3B2CAF #AF2C5F
split-complementary
#A0AF2C #2C5FAF #7C2CAF
monochromatic
#474D13 #737E20 #A0AF2C #C1D147 #D2DD78

Accessibility & contrast

On white

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

On black

8.66
#A0AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AF2C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AF2C#FFFFFF#000000##000000
##A0AF2C1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0af2c;
/* rgb */ color: rgb(160, 175, 44);
/* oklch */ color: oklch(71.9% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#c0c66f',
    500: '#a0af2c',
    950: '#000000',
  },
}
SCSS
$custom: #a0af2c;
$custom-light: #c0c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af2c",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 66.87,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7189,
    "c": 0.14942,
    "h": 116.1
  },
  "luminance": 0.38315
}

Semantic roles & 50–950 ramp

primary
#A0AF2C
secondary
#7B72C5
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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