#AF9F35#AF9F35

#AF9F35 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.7% C 0.125 H 100.6°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AF9F35
RGBrgb(175, 159, 53)
HSLhsl(52, 54%, 45%)
HSVhsv(52, 70%, 69%)
CMYKcmyk(0%, 9.1%, 69.7%, 31.4%)
CIE-LABlab(65.10, -6.41, 54.87)
CIE-LCHlch(65.10, 55.24, 96.67°)
OKLaboklab(69.69% -0.0229 0.1227)
OKLCHoklch(69.69% 0.125 100.6)
XYZxyz(30.7213, 34.1687, 8.3445)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F35 #3545AF
analogous
#AF6235 #AF9F35 #82AF35
triadic
#AF9F35 #35AF9F #9F35AF
tetradic
#AF9F35 #35AF62 #3545AF #AF3582
square
#AF9F35 #35AF62 #3545AF #AF3582
split-complementary
#AF9F35 #3582AF #6235AF
monochromatic
#514A19 #807427 #AF9F35 #CCBC56 #DACF85

Accessibility & contrast

On white

2.68
#AF9F35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AF9F35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F35
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F35#FFFFFF#000000##000000
##AF9F351.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A26
Deuteranopia (green-blind)
#B2A13B
Tritanopia (blue-blind)
#BC948A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9f35;
/* rgb */ color: rgb(175, 159, 53);
/* oklch */ color: oklch(69.7% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#cabb73',
    500: '#af9f35',
    950: '#000000',
  },
}
SCSS
$custom: #af9f35;
$custom-light: #cabb73;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f35",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 53
  },
  "hsl": {
    "h": 52.131,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.12478,
    "h": 100.6
  },
  "luminance": 0.34167
}

Semantic roles & 50–950 ramp

primary
#AF9F35
secondary
#7C86C4
accent
#5EDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9F35

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

Preview Lab → · Contrast checker → · Palette generator →

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