#AFA344#AFA344

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

Color values

HEX#AFA344
RGBrgb(175, 163, 68)
HSLhsl(53, 44%, 48%)
HSVhsv(53, 61%, 69%)
CMYKcmyk(0%, 6.9%, 61.1%, 31.4%)
CIE-LABlab(66.31, -7.60, 49.66)
CIE-LCHlch(66.31, 50.24, 98.70°)
OKLaboklab(70.7% -0.0245 0.114)
OKLCHoklch(70.7% 0.117 102.1)
XYZxyz(31.8210, 35.7269, 10.6875)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA344 #4450AF
analogous
#AF6D44 #AFA344 #85AF44
triadic
#AFA344 #44AFA3 #A344AF
tetradic
#AFA344 #44AF6D #4450AF #AF4485
square
#AFA344 #44AF6D #4450AF #AF4485
split-complementary
#AFA344 #4485AF #6D44AF
monochromatic
#575122 #837A33 #AFA344 #C5BB6B #D7CF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA344#FFFFFF#000000##000000
##AFA3441.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)
#B19E39
Deuteranopia (green-blind)
#B5A449
Tritanopia (blue-blind)
#BB988F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa344;
/* rgb */ color: rgb(175, 163, 68);
/* oklch */ color: oklch(70.7% 0.117 102.1);
Tailwind
colors: {
  custom: {
    50: '#cabe7c',
    500: '#afa344',
    950: '#000000',
  },
}
SCSS
$custom: #afa344;
$custom-light: #cabe7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa344",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 68
  },
  "hsl": {
    "h": 53.271,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.1166,
    "h": 102.1
  },
  "luminance": 0.35726
}

Semantic roles & 50–950 ramp

primary
#AFA344
secondary
#8C92C2
accent
#62D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA344

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

Preview Lab → · Contrast checker → · Palette generator →

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