#AFA361#AFA361

#AFA361 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.088 H 99.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AFA361
RGBrgb(175, 163, 97)
HSLhsl(51, 33%, 53%)
HSVhsv(51, 45%, 69%)
CMYKcmyk(0%, 6.9%, 44.6%, 31.4%)
CIE-LABlab(66.65, -5.07, 35.76)
CIE-LCHlch(66.65, 36.12, 98.06°)
OKLaboklab(71.08% -0.014 0.0865)
OKLCHoklch(71.08% 0.088 99.2)
XYZxyz(32.9349, 36.1725, 16.5540)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA361 #616DAF
analogous
#AF7C61 #AFA361 #94AF61
triadic
#AFA361 #61AFA3 #A361AF
tetradic
#AFA361 #61AF7C #616DAF #AF6194
square
#AFA361 #61AF7C #616DAF #AF6194
split-complementary
#AFA361 #6194AF #7C61AF
monochromatic
#635C32 #8C8147 #AFA361 #C4BB8A #D8D2B2

Accessibility & contrast

On white

2.55
#AFA361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AFA361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA361
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA361#FFFFFF#000000##000000
##AFA3611.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F5C
Deuteranopia (green-blind)
#B2A464
Tritanopia (blue-blind)
#BA9A93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa361;
/* rgb */ color: rgb(175, 163, 97);
/* oklch */ color: oklch(71.1% 0.088 99.2);
Tailwind
colors: {
  custom: {
    50: '#c8be8f',
    500: '#afa361',
    950: '#000000',
  },
}
SCSS
$custom: #afa361;
$custom-light: #c8be8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa361",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 97
  },
  "hsl": {
    "h": 50.769,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71077,
    "c": 0.08763,
    "h": 99.2
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

primary
#AFA361
secondary
#A5AAC7
accent
#6FC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA361

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

Preview Lab → · Contrast checker → · Palette generator →

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