#AFA13E#AFA13E

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

Color values

HEX#AFA13E
RGBrgb(175, 161, 62)
HSLhsl(53, 48%, 46%)
HSVhsv(53, 65%, 69%)
CMYKcmyk(0%, 8%, 64.6%, 31.4%)
CIE-LABlab(65.71, -6.95, 51.70)
CIE-LCHlch(65.71, 52.16, 97.65°)
OKLaboklab(70.2% -0.0234 0.1175)
OKLCHoklch(70.2% 0.12 101.2)
XYZxyz(31.2948, 34.9528, 9.6546)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA13E #3E4CAF
analogous
#AF693E #AFA13E #85AF3E
triadic
#AFA13E #3EAFA1 #A13EAF
tetradic
#AFA13E #3EAF69 #3E4CAF #AF3E85
square
#AFA13E #3EAF69 #3E4CAF #AF3E85
split-complementary
#AFA13E #3E85AF #693EAF
monochromatic
#554E1E #82772E #AFA13E #C8BB63 #D8CF90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA13E#FFFFFF#000000##000000
##AFA13E1.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)
#AF9C32
Deuteranopia (green-blind)
#B3A243
Tritanopia (blue-blind)
#BC968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa13e;
/* rgb */ color: rgb(175, 161, 62);
/* oklch */ color: oklch(70.2% 0.120 101.2);
Tailwind
colors: {
  custom: {
    50: '#cabc78',
    500: '#afa13e',
    950: '#000000',
  },
}
SCSS
$custom: #afa13e;
$custom-light: #cabc78;
$custom-dark: #000000;
JSON
{
  "hex": "#afa13e",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 52.566,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70204,
    "c": 0.11975,
    "h": 101.2
  },
  "luminance": 0.34951
}

Semantic roles & 50–950 ramp

primary
#AFA13E
secondary
#868EC3
accent
#61D751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA13E

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

Preview Lab → · Contrast checker → · Palette generator →

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