#AFA744#AFA744

#AFA744 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.120 H 104.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AFA744
RGBrgb(175, 167, 68)
HSLhsl(56, 44%, 48%)
HSVhsv(56, 61%, 69%)
CMYKcmyk(0%, 4.6%, 61.1%, 31.4%)
CIE-LABlab(67.40, -9.71, 50.86)
CIE-LCHlch(67.40, 51.78, 100.81°)
OKLaboklab(71.57% -0.0305 0.1165)
OKLCHoklch(71.57% 0.12 104.7)
XYZxyz(32.5424, 37.1699, 10.9280)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA744 #444CAF
analogous
#AF7144 #AFA744 #81AF44
triadic
#AFA744 #44AFA7 #A744AF
tetradic
#AFA744 #44AF71 #444CAF #AF4481
square
#AFA744 #44AF71 #444CAF #AF4481
split-complementary
#AFA744 #4481AF #7144AF
monochromatic
#575322 #837D33 #AFA744 #C5BF6B #D7D297

Accessibility & contrast

On white

2.49
#AFA744 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AFA744 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA744
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA744#FFFFFF#000000##000000
##AFA7441.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A139
Deuteranopia (green-blind)
#B8A649
Tritanopia (blue-blind)
#BB9C92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa744;
/* rgb */ color: rgb(175, 167, 68);
/* oklch */ color: oklch(71.6% 0.120 104.7);
Tailwind
colors: {
  custom: {
    50: '#c9c07c',
    500: '#afa744',
    950: '#000000',
  },
}
SCSS
$custom: #afa744;
$custom-light: #c9c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa744",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 68
  },
  "hsl": {
    "h": 55.514,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71566,
    "c": 0.12048,
    "h": 104.7
  },
  "luminance": 0.37169
}

Semantic roles & 50–950 ramp

primary
#AFA744
secondary
#8C90C2
accent
#5ED454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA744

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

Preview Lab → · Contrast checker → · Palette generator →

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