#AFAC3D#AFAC3D

#AFAC3D is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.6% C 0.131 H 107.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AFAC3D
RGBrgb(175, 172, 61)
HSLhsl(58, 48%, 46%)
HSVhsv(58, 65%, 69%)
CMYKcmyk(0%, 1.7%, 65.1%, 31.4%)
CIE-LABlab(68.72, -12.78, 55.29)
CIE-LCHlch(68.72, 56.75, 103.01°)
OKLaboklab(72.59% -0.04 0.1249)
OKLCHoklch(72.59% 0.131 107.8)
XYZxyz(33.2752, 38.9570, 10.1806)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC3D #3D40AF
analogous
#AF733D #AFAC3D #79AF3D
triadic
#AFAC3D #3DAFAC #AC3DAF
tetradic
#AFAC3D #3DAF73 #3D40AF #AF3D79
square
#AFAC3D #3DAF73 #3D40AF #AF3D79
split-complementary
#AFAC3D #3D79AF #733DAF
monochromatic
#54531D #827F2D #AFAC3D #C8C561 #D8D68F

Accessibility & contrast

On white

2.39
#AFAC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AFAC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC3D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC3D#FFFFFF#000000##000000
##AFAC3D1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52E
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#BBA195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afac3d;
/* rgb */ color: rgb(175, 172, 61);
/* oklch */ color: oklch(72.6% 0.131 107.8);
Tailwind
colors: {
  custom: {
    50: '#cac478',
    500: '#afac3d',
    950: '#000000',
  },
}
SCSS
$custom: #afac3d;
$custom-light: #cac478;
$custom-dark: #000000;
JSON
{
  "hex": "#afac3d",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 58.421,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72594,
    "c": 0.13114,
    "h": 107.8
  },
  "luminance": 0.38956
}

Semantic roles & 50–950 ramp

primary
#AFAC3D
secondary
#8587C3
accent
#53D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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