#AFA033#AFA033

#AFA033 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.127 H 101.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AFA033
RGBrgb(175, 160, 51)
HSLhsl(53, 55%, 44%)
HSVhsv(53, 71%, 69%)
CMYKcmyk(0%, 8.6%, 70.9%, 31.4%)
CIE-LABlab(65.35, -7.05, 55.93)
CIE-LCHlch(65.35, 56.37, 97.19°)
OKLaboklab(69.89% -0.0249 0.1245)
OKLCHoklch(69.89% 0.127 101.3)
XYZxyz(30.8489, 34.4959, 8.1648)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA033 #3342AF
analogous
#AF6233 #AFA033 #80AF33
triadic
#AFA033 #33AFA0 #A033AF
tetradic
#AFA033 #33AF62 #3342AF #AF3380
square
#AFA033 #33AF62 #3342AF #AF3380
split-complementary
#AFA033 #3380AF #6233AF
monochromatic
#504917 #807525 #AFA033 #CDBE52 #DBD082

Accessibility & contrast

On white

2.66
#AFA033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AFA033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA033
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA033#FFFFFF#000000##000000
##AFA0331.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B22
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#BC958A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa033;
/* rgb */ color: rgb(175, 160, 51);
/* oklch */ color: oklch(69.9% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#cabb72',
    500: '#afa033',
    950: '#000000',
  },
}
SCSS
$custom: #afa033;
$custom-light: #cabb72;
$custom-dark: #000000;
JSON
{
  "hex": "#afa033",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 52.742,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69893,
    "c": 0.12701,
    "h": 101.3
  },
  "luminance": 0.34495
}

Semantic roles & 50–950 ramp

primary
#AFA033
secondary
#7A83C4
accent
#5CDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AFA033

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

Preview Lab → · Contrast checker → · Palette generator →

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