#AFAA3D#AFAA3D

#AFAA3D is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.129 H 106.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AFAA3D
RGBrgb(175, 170, 61)
HSLhsl(57, 48%, 46%)
HSVhsv(57, 65%, 69%)
CMYKcmyk(0%, 2.9%, 65.1%, 31.4%)
CIE-LABlab(68.17, -11.74, 54.72)
CIE-LCHlch(68.17, 55.96, 102.11°)
OKLaboklab(72.16% -0.0371 0.1237)
OKLCHoklch(72.16% 0.129 106.7)
XYZxyz(32.8974, 38.2014, 10.0547)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA3D #3D42AF
analogous
#AF713D #AFAA3D #7BAF3D
triadic
#AFAA3D #3DAFAA #AA3DAF
tetradic
#AFAA3D #3DAF71 #3D42AF #AF3D7B
square
#AFAA3D #3DAF71 #3D42AF #AF3D7B
split-complementary
#AFAA3D #3D7BAF #713DAF
monochromatic
#54521D #827E2D #AFAA3D #C8C361 #D8D58F

Accessibility & contrast

On white

2.43
#AFAA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#AFAA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA3D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA3D#FFFFFF#000000##000000
##AFAA3D1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42F
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#BB9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afaa3d;
/* rgb */ color: rgb(175, 170, 61);
/* oklch */ color: oklch(72.2% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#cac378',
    500: '#afaa3d',
    950: '#000000',
  },
}
SCSS
$custom: #afaa3d;
$custom-light: #cac378;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa3d",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 57.368,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72155,
    "c": 0.12912,
    "h": 106.7
  },
  "luminance": 0.382
}

Semantic roles & 50–950 ramp

primary
#AFAA3D
secondary
#8588C3
accent
#56D850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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