#AFA149#AFA149

#AFA149 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.110 H 100.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AFA149
RGBrgb(175, 161, 73)
HSLhsl(52, 41%, 49%)
HSVhsv(52, 58%, 69%)
CMYKcmyk(0%, 8%, 58.3%, 31.4%)
CIE-LABlab(65.82, -6.17, 46.77)
CIE-LCHlch(65.82, 47.18, 97.52°)
OKLaboklab(70.32% -0.0198 0.1085)
OKLCHoklch(70.32% 0.11 100.4)
XYZxyz(31.6278, 35.0860, 11.4083)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA149 #4957AF
analogous
#AF6E49 #AFA149 #8AAF49
triadic
#AFA149 #49AFA1 #A149AF
tetradic
#AFA149 #49AF6E #4957AF #AF498A
square
#AFA149 #49AF6E #4957AF #AF498A
split-complementary
#AFA149 #498AAF #6E49AF
monochromatic
#595225 #847937 #AFA149 #C4B971 #D6CE9C

Accessibility & contrast

On white

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

On black

8.02
#AFA149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA149
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA149#FFFFFF#000000##000000
##AFA1491.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D40
Deuteranopia (green-blind)
#B3A24D
Tritanopia (blue-blind)
#BB978E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa149;
/* rgb */ color: rgb(175, 161, 73);
/* oklch */ color: oklch(70.3% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#c9bc7f',
    500: '#afa149',
    950: '#000000',
  },
}
SCSS
$custom: #afa149;
$custom-light: #c9bc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa149",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 73
  },
  "hsl": {
    "h": 51.765,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70319,
    "c": 0.11028,
    "h": 100.4
  },
  "luminance": 0.35085
}

Semantic roles & 50–950 ramp

primary
#AFA149
secondary
#9198C2
accent
#68D157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA149

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

Preview Lab → · Contrast checker → · Palette generator →

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