#AFA144#AFA144

#AFA144 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.115 H 100.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA144
RGBrgb(175, 161, 68)
HSLhsl(52, 44%, 48%)
HSVhsv(52, 61%, 69%)
CMYKcmyk(0%, 8%, 61.1%, 31.4%)
CIE-LABlab(65.77, -6.54, 49.06)
CIE-LCHlch(65.77, 49.49, 97.59°)
OKLaboklab(70.26% -0.0215 0.1127)
OKLCHoklch(70.26% 0.115 100.8)
XYZxyz(31.4687, 35.0223, 10.5701)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA144 #4452AF
analogous
#AF6C44 #AFA144 #87AF44
triadic
#AFA144 #44AFA1 #A144AF
tetradic
#AFA144 #44AF6C #4452AF #AF4487
square
#AFA144 #44AF6C #4452AF #AF4487
split-complementary
#AFA144 #4487AF #6C44AF
monochromatic
#575022 #837833 #AFA144 #C5BA6B #D7CE97

Accessibility & contrast

On white

2.62
#AFA144 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AFA144 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA144
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA144#FFFFFF#000000##000000
##AFA1441.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3A
Deuteranopia (green-blind)
#B3A249
Tritanopia (blue-blind)
#BC968D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa144;
/* rgb */ color: rgb(175, 161, 68);
/* oklch */ color: oklch(70.3% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#cabc7c',
    500: '#afa144',
    950: '#000000',
  },
}
SCSS
$custom: #afa144;
$custom-light: #cabc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa144",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 68
  },
  "hsl": {
    "h": 52.15,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.11474,
    "h": 100.8
  },
  "luminance": 0.35021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA144

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

Preview Lab → · Contrast checker → · Palette generator →

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