#AFA13F#AFA13F

#AFA13F is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.119 H 101.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#AFA13F
RGBrgb(175, 161, 63)
HSLhsl(53, 47%, 47%)
HSVhsv(53, 64%, 69%)
CMYKcmyk(0%, 8%, 64%, 31.4%)
CIE-LABlab(65.72, -6.88, 51.27)
CIE-LCHlch(65.72, 51.73, 97.64°)
OKLaboklab(70.21% -0.0231 0.1167)
OKLCHoklch(70.21% 0.119 101.2)
XYZxyz(31.3225, 34.9639, 9.8005)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA13F #3F4DAF
analogous
#AF693F #AFA13F #85AF3F
triadic
#AFA13F #3FAFA1 #A13FAF
tetradic
#AFA13F #3FAF69 #3F4DAF #AF3F85
square
#AFA13F #3FAF69 #3F4DAF #AF3F85
split-complementary
#AFA13F #3F85AF #693FAF
monochromatic
#554E1F #82782F #AFA13F #C7BB64 #D7CF91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA13F#FFFFFF#000000##000000
##AFA13F1.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)
#AF9C33
Deuteranopia (green-blind)
#B3A244
Tritanopia (blue-blind)
#BC968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa13f;
/* rgb */ color: rgb(175, 161, 63);
/* oklch */ color: oklch(70.2% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#cabc79',
    500: '#afa13f',
    950: '#000000',
  },
}
SCSS
$custom: #afa13f;
$custom-light: #cabc79;
$custom-dark: #000000;
JSON
{
  "hex": "#afa13f",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 63
  },
  "hsl": {
    "h": 52.5,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70213,
    "c": 0.11894,
    "h": 101.2
  },
  "luminance": 0.34963
}

Semantic roles & 50–950 ramp

primary
#AFA13F
secondary
#878FC3
accent
#62D751
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA13F

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

Preview Lab → · Contrast checker → · Palette generator →

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