#A0AF2E#A0AF2E

#A0AF2E 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#A0AF2E
RGBrgb(160, 175, 46)
HSLhsl(67, 58%, 43%)
HSVhsv(67, 74%, 69%)
CMYKcmyk(8.6%, 0%, 73.7%, 31.4%)
CIE-LABlab(68.26, -21.56, 60.19)
CIE-LCHlch(68.26, 63.94, 109.71°)
OKLaboklab(71.9% -0.0652 0.1332)
OKLCHoklch(71.9% 0.148 116.1)
XYZxyz(30.3211, 38.3312, 8.3856)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF2E #3D2EAF
analogous
#AF7D2E #A0AF2E #5FAF2E
triadic
#A0AF2E #2EA0AF #AF2EA0
tetradic
#A0AF2E #2EAF7D #3D2EAF #AF2E5F
square
#A0AF2E #2EAF7D #3D2EAF #AF2E5F
split-complementary
#A0AF2E #2E5FAF #7D2EAF
monochromatic
#474E15 #747F21 #A0AF2E #C0D04B #D1DC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AF2E#FFFFFF#000000##000000
##A0AF2E1.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)
#BBA613
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#AAA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af2e;
/* rgb */ color: rgb(160, 175, 46);
/* oklch */ color: oklch(71.9% 0.148 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc670',
    500: '#a0af2e',
    950: '#000000',
  },
}
SCSS
$custom: #a0af2e;
$custom-light: #bfc670;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af2e",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 66.977,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71903,
    "c": 0.14826,
    "h": 116.1
  },
  "luminance": 0.38331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A0AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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