#AF9935#AF9935

#AF9935 is a light, moderate yellow. Relative luminance 0.322; OKLCH L 68.4% C 0.120 H 96.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AF9935
RGBrgb(175, 153, 53)
HSLhsl(49, 54%, 45%)
HSVhsv(49, 70%, 69%)
CMYKcmyk(0%, 12.6%, 69.7%, 31.4%)
CIE-LABlab(63.47, -3.20, 53.22)
CIE-LCHlch(63.47, 53.32, 93.44°)
OKLaboklab(68.4% -0.0137 0.1192)
OKLCHoklch(68.4% 0.12 96.6)
XYZxyz(29.7145, 32.1550, 8.0089)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9935 #354BAF
analogous
#AF5C35 #AF9935 #88AF35
triadic
#AF9935 #35AF99 #9935AF
tetradic
#AF9935 #35AF5C #354BAF #AF3588
square
#AF9935 #35AF5C #354BAF #AF3588
split-complementary
#AF9935 #3588AF #5C35AF
monochromatic
#514719 #807027 #AF9935 #CCB656 #DACA85

Accessibility & contrast

On white

2.83
#AF9935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AF9935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9935
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9935#FFFFFF#000000##000000
##AF99351.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89627
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#BD8D85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9935;
/* rgb */ color: rgb(175, 153, 53);
/* oklch */ color: oklch(68.4% 0.120 96.6);
Tailwind
colors: {
  custom: {
    50: '#cab672',
    500: '#af9935',
    950: '#000000',
  },
}
SCSS
$custom: #af9935;
$custom-light: #cab672;
$custom-dark: #000000;
JSON
{
  "hex": "#af9935",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 53
  },
  "hsl": {
    "h": 49.18,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68404,
    "c": 0.11996,
    "h": 96.6
  },
  "luminance": 0.32153
}

Semantic roles & 50–950 ramp

primary
#AF9935
secondary
#7C89C4
accent
#65DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9935

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

Preview Lab → · Contrast checker → · Palette generator →

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