#AFA346#AFA346

#AFA346 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.115 H 102.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AFA346
RGBrgb(175, 163, 70)
HSLhsl(53, 43%, 48%)
HSVhsv(53, 60%, 69%)
CMYKcmyk(0%, 6.9%, 60%, 31.4%)
CIE-LABlab(66.33, -7.46, 48.76)
CIE-LCHlch(66.33, 49.33, 98.70°)
OKLaboklab(70.72% -0.0239 0.1124)
OKLCHoklch(70.72% 0.115 102)
XYZxyz(31.8830, 35.7518, 11.0145)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA346 #4652AF
analogous
#AF6E46 #AFA346 #86AF46
triadic
#AFA346 #46AFA3 #A346AF
tetradic
#AFA346 #46AF6E #4652AF #AF4686
square
#AFA346 #46AF6E #4652AF #AF4686
split-complementary
#AFA346 #4686AF #6E46AF
monochromatic
#585223 #837A35 #AFA346 #C5BB6D #D6CF99

Accessibility & contrast

On white

2.58
#AFA346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AFA346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA346
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA346#FFFFFF#000000##000000
##AFA3461.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3C
Deuteranopia (green-blind)
#B4A44B
Tritanopia (blue-blind)
#BB998F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa346;
/* rgb */ color: rgb(175, 163, 70);
/* oklch */ color: oklch(70.7% 0.115 102.0);
Tailwind
colors: {
  custom: {
    50: '#c9be7d',
    500: '#afa346',
    950: '#000000',
  },
}
SCSS
$custom: #afa346;
$custom-light: #c9be7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa346",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 70
  },
  "hsl": {
    "h": 53.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70718,
    "c": 0.11486,
    "h": 102
  },
  "luminance": 0.35751
}

Semantic roles & 50–950 ramp

primary
#AFA346
secondary
#8E94C2
accent
#64D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA346

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

Preview Lab → · Contrast checker → · Palette generator →

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