#AFA32C#AFA32C

#AFA32C is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.134 H 103.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA32C
RGBrgb(175, 163, 44)
HSLhsl(55, 60%, 43%)
HSVhsv(55, 75%, 69%)
CMYKcmyk(0%, 6.9%, 74.9%, 31.4%)
CIE-LABlab(66.13, -8.97, 59.30)
CIE-LCHlch(66.13, 59.98, 98.61°)
OKLaboklab(70.49% -0.0311 0.1304)
OKLCHoklch(70.49% 0.134 103.4)
XYZxyz(31.2324, 35.4915, 7.5878)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA32C #2C38AF
analogous
#AF622C #AFA32C #79AF2C
triadic
#AFA32C #2CAFA3 #A32CAF
tetradic
#AFA32C #2CAF62 #2C38AF #AF2C79
square
#AFA32C #2CAF62 #2C38AF #AF2C79
split-complementary
#AFA32C #2C79AF #622CAF
monochromatic
#4D4813 #7E7520 #AFA32C #D1C447 #DDD478

Accessibility & contrast

On white

2.59
#AFA32C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AFA32C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA32C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA32C#FFFFFF#000000##000000
##AFA32C1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E14
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#BC978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa32c;
/* rgb */ color: rgb(175, 163, 44);
/* oklch */ color: oklch(70.5% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#cbbd6e',
    500: '#afa32c',
    950: '#000000',
  },
}
SCSS
$custom: #afa32c;
$custom-light: #cbbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa32c",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 54.504,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.13402,
    "h": 103.4
  },
  "luminance": 0.3549
}

Semantic roles & 50–950 ramp

primary
#AFA32C
secondary
#7279C5
accent
#53E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA32C

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

Preview Lab → · Contrast checker → · Palette generator →

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