#AFAE58#AFAE58

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

Color values

HEX#AFAE58
RGBrgb(175, 174, 88)
HSLhsl(59, 35%, 52%)
HSVhsv(59, 50%, 69%)
CMYKcmyk(0%, 0.6%, 49.7%, 31.4%)
CIE-LABlab(69.53, -11.75, 43.84)
CIE-LCHlch(69.53, 45.39, 105.00°)
OKLaboklab(73.33% -0.0341 0.1037)
OKLCHoklch(73.33% 0.109 108.2)
XYZxyz(34.5775, 40.0915, 15.1476)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE58 #5859AF
analogous
#AF8358 #AFAE58 #85AF58
triadic
#AFAE58 #58AFAE #AE58AF
tetradic
#AFAE58 #58AF83 #5859AF #AF5885
square
#AFAE58 #58AF83 #5859AF #AF5885
split-complementary
#AFAE58 #5885AF #8358AF
monochromatic
#5F5E2E #888841 #AFAE58 #C3C281 #D7D6AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE58#FFFFFF#000000##000000
##AFAE581.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)
#BAA850
Deuteranopia (green-blind)
#BBAB5C
Tritanopia (blue-blind)
#BAA59A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae58;
/* rgb */ color: rgb(175, 174, 88);
/* oklch */ color: oklch(73.3% 0.109 108.2);
Tailwind
colors: {
  custom: {
    50: '#c9c689',
    500: '#afae58',
    950: '#000000',
  },
}
SCSS
$custom: #afae58;
$custom-light: #c9c689;
$custom-dark: #000000;
JSON
{
  "hex": "#afae58",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 88
  },
  "hsl": {
    "h": 59.31,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.1092,
    "h": 108.2
  },
  "luminance": 0.40091
}

Semantic roles & 50–950 ramp

primary
#AFAE58
secondary
#9E9FC5
accent
#5ECB5D
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFAE58

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

Preview Lab → · Contrast checker → · Palette generator →

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