#AFAE4E#AFAE4E

#AFAE4E is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.119 H 108.5°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AFAE4E
RGBrgb(175, 174, 78)
HSLhsl(59, 38%, 50%)
HSVhsv(59, 55%, 69%)
CMYKcmyk(0%, 0.6%, 55.4%, 31.4%)
CIE-LABlab(69.42, -12.61, 48.52)
CIE-LCHlch(69.42, 50.13, 104.57°)
OKLaboklab(73.21% -0.0377 0.1128)
OKLCHoklch(73.21% 0.119 108.5)
XYZxyz(34.1913, 39.9370, 13.1138)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE4E #4E4FAF
analogous
#AF7D4E #AFAE4E #80AF4E
triadic
#AFAE4E #4EAFAE #AE4EAF
tetradic
#AFAE4E #4EAF7D #4E4FAF #AF4E80
square
#AFAE4E #4EAF7D #4E4FAF #AF4E80
split-complementary
#AFAE4E #4E80AF #7D4EAF
monochromatic
#5A5A28 #85843B #AFAE4E #C3C278 #D6D5A2

Accessibility & contrast

On white

2.34
#AFAE4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AFAE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE4E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE4E#FFFFFF#000000##000000
##AFAE4E1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA844
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#BAA499
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae4e;
/* rgb */ color: rgb(175, 174, 78);
/* oklch */ color: oklch(73.2% 0.119 108.5);
Tailwind
colors: {
  custom: {
    50: '#c9c683',
    500: '#afae4e',
    950: '#000000',
  },
}
SCSS
$custom: #afae4e;
$custom-light: #c9c683;
$custom-dark: #000000;
JSON
{
  "hex": "#afae4e",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 78
  },
  "hsl": {
    "h": 59.381,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73205,
    "c": 0.11893,
    "h": 108.5
  },
  "luminance": 0.39936
}

Semantic roles & 50–950 ramp

primary
#AFAE4E
secondary
#9697C3
accent
#5BCE5A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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