#AFA244#AFA244

#AFA244 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.116 H 101.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA244
RGBrgb(175, 162, 68)
HSLhsl(53, 44%, 48%)
HSVhsv(53, 61%, 69%)
CMYKcmyk(0%, 7.4%, 61.1%, 31.4%)
CIE-LABlab(66.04, -7.07, 49.36)
CIE-LCHlch(66.04, 49.86, 98.15°)
OKLaboklab(70.48% -0.023 0.1134)
OKLCHoklch(70.48% 0.116 101.5)
XYZxyz(31.6441, 35.3732, 10.6286)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA244 #4451AF
analogous
#AF6C44 #AFA244 #87AF44
triadic
#AFA244 #44AFA2 #A244AF
tetradic
#AFA244 #44AF6C #4451AF #AF4487
square
#AFA244 #44AF6C #4451AF #AF4487
split-complementary
#AFA244 #4487AF #6C44AF
monochromatic
#575022 #837933 #AFA244 #C5BA6B #D7CF97

Accessibility & contrast

On white

2.60
#AFA244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AFA244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA244
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA244#FFFFFF#000000##000000
##AFA2441.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3A
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#BC978E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa244;
/* rgb */ color: rgb(175, 162, 68);
/* oklch */ color: oklch(70.5% 0.116 101.5);
Tailwind
colors: {
  custom: {
    50: '#cabd7c',
    500: '#afa244',
    950: '#000000',
  },
}
SCSS
$custom: #afa244;
$custom-light: #cabd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa244",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 68
  },
  "hsl": {
    "h": 52.71,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7048,
    "c": 0.11566,
    "h": 101.5
  },
  "luminance": 0.35372
}

Semantic roles & 50–950 ramp

primary
#AFA244
secondary
#8C93C2
accent
#64D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA244

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

Preview Lab → · Contrast checker → · Palette generator →

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