#AFA439#AFA439

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

Color values

HEX#AFA439
RGBrgb(175, 164, 57)
HSLhsl(54, 51%, 45%)
HSVhsv(54, 67%, 69%)
CMYKcmyk(0%, 6.3%, 67.4%, 31.4%)
CIE-LABlab(66.49, -8.84, 54.65)
CIE-LCHlch(66.49, 55.36, 99.19°)
OKLaboklab(70.81% -0.0293 0.1229)
OKLCHoklch(70.81% 0.126 103.4)
XYZxyz(31.6944, 35.9615, 9.1419)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA439 #3944AF
analogous
#AF6939 #AFA439 #7FAF39
triadic
#AFA439 #39AFA4 #A439AF
tetradic
#AFA439 #39AF69 #3944AF #AF397F
square
#AFA439 #39AF69 #3944AF #AF397F
split-complementary
#AFA439 #397FAF #6939AF
monochromatic
#534D1B #81792A #AFA439 #CABF5B #D9D18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA439#FFFFFF#000000##000000
##AFA4391.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)
#B29F2A
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#BC998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa439;
/* rgb */ color: rgb(175, 164, 57);
/* oklch */ color: oklch(70.8% 0.126 103.4);
Tailwind
colors: {
  custom: {
    50: '#cabe75',
    500: '#afa439',
    950: '#000000',
  },
}
SCSS
$custom: #afa439;
$custom-light: #cabe75;
$custom-dark: #000000;
JSON
{
  "hex": "#afa439",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 57
  },
  "hsl": {
    "h": 54.407,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70809,
    "c": 0.12633,
    "h": 103.4
  },
  "luminance": 0.3596
}

Semantic roles & 50–950 ramp

primary
#AFA439
secondary
#8187C3
accent
#5BDA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA439

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

Preview Lab → · Contrast checker → · Palette generator →

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