#A0AF2D#A0AF2D

#A0AF2D 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#A0AF2D
RGBrgb(160, 175, 45)
HSLhsl(67, 59%, 43%)
HSVhsv(67, 74%, 69%)
CMYKcmyk(8.6%, 0%, 74.3%, 31.4%)
CIE-LABlab(68.26, -21.61, 60.53)
CIE-LCHlch(68.26, 64.27, 109.65°)
OKLaboklab(71.9% -0.0654 0.1337)
OKLCHoklch(71.9% 0.149 116.1)
XYZxyz(30.3016, 38.3234, 8.2830)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF2D #3C2DAF
analogous
#AF7D2D #A0AF2D #5FAF2D
triadic
#A0AF2D #2DA0AF #AF2DA0
tetradic
#A0AF2D #2DAF7D #3C2DAF #AF2D5F
square
#A0AF2D #2DAF7D #3C2DAF #AF2D5F
split-complementary
#A0AF2D #2D5FAF #7D2DAF
monochromatic
#474E14 #737E20 #A0AF2D #C1D049 #D1DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AF2D#FFFFFF#000000##000000
##A0AF2D1.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)
#BBA611
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#AAA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af2d;
/* rgb */ color: rgb(160, 175, 45);
/* oklch */ color: oklch(71.9% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc670',
    500: '#a0af2d',
    950: '#000000',
  },
}
SCSS
$custom: #a0af2d;
$custom-light: #bfc670;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af2d",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 66.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71896,
    "c": 0.14885,
    "h": 116.1
  },
  "luminance": 0.38323
}

Semantic roles & 50–950 ramp

primary
#A0AF2D
secondary
#7C73C5
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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