#AFAF3D#AFAF3D

#AFAF3D is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.134 H 109.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AFAF3D
RGBrgb(175, 175, 61)
HSLhsl(60, 48%, 46%)
HSVhsv(60, 65%, 69%)
CMYKcmyk(0%, 0%, 65.1%, 31.4%)
CIE-LABlab(69.55, -14.32, 56.15)
CIE-LCHlch(69.55, 57.95, 104.31°)
OKLaboklab(73.26% -0.0444 0.1267)
OKLCHoklch(73.26% 0.134 109.3)
XYZxyz(33.8526, 40.1118, 10.3731)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAF3D #3D3DAF
analogous
#AF763D #AFAF3D #76AF3D
triadic
#AFAF3D #3DAFAF #AF3DAF
tetradic
#AFAF3D #3DAF76 #3D3DAF #AF3D76
square
#AFAF3D #3DAF76 #3D3DAF #AF3D76
split-complementary
#AFAF3D #3D76AF #763DAF
monochromatic
#54541D #82822D #AFAF3D #C8C861 #D8D88F

Accessibility & contrast

On white

2.33
#AFAF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#AFAF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAF3D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAF3D#FFFFFF#000000##000000
##AFAF3D1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82E
Deuteranopia (green-blind)
#BEAC44
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afaf3d;
/* rgb */ color: rgb(175, 175, 61);
/* oklch */ color: oklch(73.3% 0.134 109.3);
Tailwind
colors: {
  custom: {
    50: '#cac679',
    500: '#afaf3d',
    950: '#000000',
  },
}
SCSS
$custom: #afaf3d;
$custom-light: #cac679;
$custom-dark: #000000;
JSON
{
  "hex": "#afaf3d",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.13426,
    "h": 109.3
  },
  "luminance": 0.40111
}

Semantic roles & 50–950 ramp

primary
#AFAF3D
secondary
#8585C3
accent
#50D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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