#AFA437#AFA437

#AFA437 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.128 H 103.5°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AFA437
RGBrgb(175, 164, 55)
HSLhsl(55, 52%, 45%)
HSVhsv(55, 69%, 69%)
CMYKcmyk(0%, 6.3%, 68.6%, 31.4%)
CIE-LABlab(66.48, -8.95, 55.45)
CIE-LCHlch(66.48, 56.17, 99.17°)
OKLaboklab(70.79% -0.0298 0.1242)
OKLCHoklch(70.79% 0.128 103.5)
XYZxyz(31.6455, 35.9420, 8.8843)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA437 #3742AF
analogous
#AF6837 #AFA437 #7EAF37
triadic
#AFA437 #37AFA4 #A437AF
tetradic
#AFA437 #37AF68 #3742AF #AF377E
square
#AFA437 #37AF68 #3742AF #AF377E
split-complementary
#AFA437 #377EAF #6837AF
monochromatic
#524D1A #807828 #AFA437 #CBC059 #D9D287

Accessibility & contrast

On white

2.56
#AFA437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AFA437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA437
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA437#FFFFFF#000000##000000
##AFA4371.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#BC998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa437;
/* rgb */ color: rgb(175, 164, 55);
/* oklch */ color: oklch(70.8% 0.128 103.5);
Tailwind
colors: {
  custom: {
    50: '#cabe74',
    500: '#afa437',
    950: '#000000',
  },
}
SCSS
$custom: #afa437;
$custom-light: #cabe74;
$custom-dark: #000000;
JSON
{
  "hex": "#afa437",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 54.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70793,
    "c": 0.12778,
    "h": 103.5
  },
  "luminance": 0.35941
}

Semantic roles & 50–950 ramp

primary
#AFA437
secondary
#7F85C3
accent
#59DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA437

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

Preview Lab → · Contrast checker → · Palette generator →

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