#AFA13C#AFA13C

#AFA13C is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.121 H 101.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#AFA13C
RGBrgb(175, 161, 60)
HSLhsl(53, 49%, 46%)
HSVhsv(53, 66%, 69%)
CMYKcmyk(0%, 8%, 65.7%, 31.4%)
CIE-LABlab(65.70, -7.07, 52.55)
CIE-LCHlch(65.70, 53.03, 97.66°)
OKLaboklab(70.19% -0.0239 0.1189)
OKLCHoklch(70.19% 0.121 101.4)
XYZxyz(31.2410, 34.9313, 9.3709)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA13C #3C4AAF
analogous
#AF673C #AFA13C #83AF3C
triadic
#AFA13C #3CAFA1 #A13CAF
tetradic
#AFA13C #3CAF67 #3C4AAF #AF3C83
square
#AFA13C #3CAF67 #3C4AAF #AF3C83
split-complementary
#AFA13C #3C83AF #673CAF
monochromatic
#544D1D #81772C #AFA13C #C8BC60 #D8CF8D

Accessibility & contrast

On white

2.63
#AFA13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#AFA13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA13C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA13C#FFFFFF#000000##000000
##AFA13C1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2F
Deuteranopia (green-blind)
#B4A242
Tritanopia (blue-blind)
#BC968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa13c;
/* rgb */ color: rgb(175, 161, 60);
/* oklch */ color: oklch(70.2% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#cabc77',
    500: '#afa13c',
    950: '#000000',
  },
}
SCSS
$custom: #afa13c;
$custom-light: #cabc77;
$custom-dark: #000000;
JSON
{
  "hex": "#afa13c",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 60
  },
  "hsl": {
    "h": 52.696,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70185,
    "c": 0.12133,
    "h": 101.4
  },
  "luminance": 0.3493
}

Semantic roles & 50–950 ramp

primary
#AFA13C
secondary
#848CC3
accent
#60D84F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA13C

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

Preview Lab → · Contrast checker → · Palette generator →

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