#AFAA61#AFAA61

#AFAA61 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.095 H 105.1°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFAA61
RGBrgb(175, 170, 97)
HSLhsl(56, 33%, 53%)
HSVhsv(56, 45%, 69%)
CMYKcmyk(0%, 2.9%, 44.6%, 31.4%)
CIE-LABlab(68.55, -8.78, 38.13)
CIE-LCHlch(68.55, 39.13, 102.97°)
OKLaboklab(72.58% -0.0247 0.0918)
OKLCHoklch(72.58% 0.095 105.1)
XYZxyz(34.2123, 38.7274, 16.9799)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA61 #6166AF
analogous
#AF8361 #AFAA61 #8DAF61
triadic
#AFAA61 #61AFAA #AA61AF
tetradic
#AFAA61 #61AF83 #6166AF #AF618D
square
#AFAA61 #61AF83 #6166AF #AF618D
split-complementary
#AFAA61 #618DAF #8361AF
monochromatic
#636032 #8C8847 #AFAA61 #C4C08A #D8D6B2

Accessibility & contrast

On white

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

On black

8.75
#AFAA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA61
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA61#FFFFFF#000000##000000
##AFAA611.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55B
Deuteranopia (green-blind)
#B7A964
Tritanopia (blue-blind)
#B9A199
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa61;
/* rgb */ color: rgb(175, 170, 97);
/* oklch */ color: oklch(72.6% 0.095 105.1);
Tailwind
colors: {
  custom: {
    50: '#c8c38f',
    500: '#afaa61',
    950: '#000000',
  },
}
SCSS
$custom: #afaa61;
$custom-light: #c8c38f;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa61",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 97
  },
  "hsl": {
    "h": 56.154,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.72585,
    "c": 0.09509,
    "h": 105.1
  },
  "luminance": 0.38726
}

Semantic roles & 50–950 ramp

primary
#AFAA61
secondary
#A5A7C7
accent
#66C95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFAA61

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

Preview Lab → · Contrast checker → · Palette generator →

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