#AFAE3E#AFAE3E

#AFAE3E is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.132 H 108.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AFAE3E
RGBrgb(175, 174, 62)
HSLhsl(59, 48%, 46%)
HSVhsv(59, 65%, 69%)
CMYKcmyk(0%, 0.6%, 64.6%, 31.4%)
CIE-LABlab(69.28, -13.75, 55.46)
CIE-LCHlch(69.28, 57.14, 103.92°)
OKLaboklab(73.04% -0.0426 0.1254)
OKLCHoklch(73.04% 0.132 108.8)
XYZxyz(33.6859, 39.7348, 10.4516)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE3E #3E3FAF
analogous
#AF763E #AFAE3E #78AF3E
triadic
#AFAE3E #3EAFAE #AE3EAF
tetradic
#AFAE3E #3EAF76 #3E3FAF #AF3E78
square
#AFAE3E #3EAF76 #3E3FAF #AF3E78
split-complementary
#AFAE3E #3E78AF #763EAF
monochromatic
#55541E #82812E #AFAE3E #C8C763 #D8D790

Accessibility & contrast

On white

2.35
#AFAE3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#AFAE3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE3E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE3E#FFFFFF#000000##000000
##AFAE3E1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#BDAB45
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae3e;
/* rgb */ color: rgb(175, 174, 62);
/* oklch */ color: oklch(73.0% 0.132 108.8);
Tailwind
colors: {
  custom: {
    50: '#cac579',
    500: '#afae3e',
    950: '#000000',
  },
}
SCSS
$custom: #afae3e;
$custom-light: #cac579;
$custom-dark: #000000;
JSON
{
  "hex": "#afae3e",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 59.469,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73044,
    "c": 0.13245,
    "h": 108.8
  },
  "luminance": 0.39734
}

Semantic roles & 50–950 ramp

primary
#AFAE3E
secondary
#8687C3
accent
#52D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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