#AFA343#AFA343

#AFA343 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.117 H 102.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AFA343
RGBrgb(175, 163, 67)
HSLhsl(53, 45%, 47%)
HSVhsv(53, 62%, 69%)
CMYKcmyk(0%, 6.9%, 61.7%, 31.4%)
CIE-LABlab(66.30, -7.67, 50.10)
CIE-LCHlch(66.30, 50.69, 98.71°)
OKLaboklab(70.69% -0.0248 0.1148)
OKLCHoklch(70.69% 0.117 102.2)
XYZxyz(31.7907, 35.7148, 10.5282)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA343 #434FAF
analogous
#AF6D43 #AFA343 #85AF43
triadic
#AFA343 #43AFA3 #A343AF
tetradic
#AFA343 #43AF6D #434FAF #AF4385
square
#AFA343 #43AF6D #434FAF #AF4385
split-complementary
#AFA343 #4385AF #6D43AF
monochromatic
#565121 #837A32 #AFA343 #C6BB69 #D7CF96

Accessibility & contrast

On white

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

On black

8.14
#AFA343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA343
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA343#FFFFFF#000000##000000
##AFA3431.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E38
Deuteranopia (green-blind)
#B5A448
Tritanopia (blue-blind)
#BC988E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa343;
/* rgb */ color: rgb(175, 163, 67);
/* oklch */ color: oklch(70.7% 0.117 102.2);
Tailwind
colors: {
  custom: {
    50: '#cabe7b',
    500: '#afa343',
    950: '#000000',
  },
}
SCSS
$custom: #afa343;
$custom-light: #cabe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa343",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 67
  },
  "hsl": {
    "h": 53.333,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70686,
    "c": 0.11746,
    "h": 102.2
  },
  "luminance": 0.35714
}

Semantic roles & 50–950 ramp

primary
#AFA343
secondary
#8B91C2
accent
#62D453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA343

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

Preview Lab → · Contrast checker → · Palette generator →

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