#AFA43C#AFA43C

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

Color values

HEX#AFA43C
RGBrgb(175, 164, 60)
HSLhsl(54, 49%, 46%)
HSVhsv(54, 66%, 69%)
CMYKcmyk(0%, 6.3%, 65.7%, 31.4%)
CIE-LABlab(66.51, -8.66, 53.41)
CIE-LCHlch(66.51, 54.11, 99.21°)
OKLaboklab(70.84% -0.0285 0.1208)
OKLCHoklch(70.84% 0.124 103.3)
XYZxyz(31.7715, 35.9924, 9.5477)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA43C #3C47AF
analogous
#AF6A3C #AFA43C #80AF3C
triadic
#AFA43C #3CAFA4 #A43CAF
tetradic
#AFA43C #3CAF6A #3C47AF #AF3C80
square
#AFA43C #3CAF6A #3C47AF #AF3C80
split-complementary
#AFA43C #3C80AF #6A3CAF
monochromatic
#544F1D #81792C #AFA43C #C8BE60 #D8D18D

Accessibility & contrast

On white

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

On black

8.20
#AFA43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA43C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA43C#FFFFFF#000000##000000
##AFA43C1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa43c;
/* rgb */ color: rgb(175, 164, 60);
/* oklch */ color: oklch(70.8% 0.124 103.3);
Tailwind
colors: {
  custom: {
    50: '#cabe77',
    500: '#afa43c',
    950: '#000000',
  },
}
SCSS
$custom: #afa43c;
$custom-light: #cabe77;
$custom-dark: #000000;
JSON
{
  "hex": "#afa43c",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 60
  },
  "hsl": {
    "h": 54.261,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70836,
    "c": 0.12407,
    "h": 103.3
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

primary
#AFA43C
secondary
#848AC3
accent
#5CD84F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA43C

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

Preview Lab → · Contrast checker → · Palette generator →

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