#AF9335#AF9335

#AF9335 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 67.1% C 0.116 H 92.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AF9335
RGBrgb(175, 147, 53)
HSLhsl(46, 54%, 45%)
HSVhsv(46, 70%, 69%)
CMYKcmyk(0%, 16%, 69.7%, 31.4%)
CIE-LABlab(61.86, 0.06, 51.57)
CIE-LCHlch(61.86, 51.57, 89.94°)
OKLaboklab(67.13% -0.0044 0.1157)
OKLCHoklch(67.13% 0.116 92.2)
XYZxyz(28.7570, 30.2401, 7.6897)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9335 #3551AF
analogous
#AF5635 #AF9335 #8EAF35
triadic
#AF9335 #35AF93 #9335AF
tetradic
#AF9335 #35AF56 #3551AF #AF358E
square
#AF9335 #35AF56 #3551AF #AF358E
split-complementary
#AF9335 #358EAF #5635AF
monochromatic
#514419 #806C27 #AF9335 #CCB156 #DAC685

Accessibility & contrast

On white

2.98
#AF9335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#AF9335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9335
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9335#FFFFFF#000000##000000
##AF93351.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39129
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#BD8780
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9335;
/* rgb */ color: rgb(175, 147, 53);
/* oklch */ color: oklch(67.1% 0.116 92.2);
Tailwind
colors: {
  custom: {
    50: '#cab271',
    500: '#af9335',
    950: '#000000',
  },
}
SCSS
$custom: #af9335;
$custom-light: #cab271;
$custom-dark: #000000;
JSON
{
  "hex": "#af9335",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 53
  },
  "hsl": {
    "h": 46.23,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67131,
    "c": 0.11577,
    "h": 92.2
  },
  "luminance": 0.30238
}

Semantic roles & 50–950 ramp

primary
#AF9335
secondary
#7C8DC4
accent
#6CDD4B
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9335

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

Preview Lab → · Contrast checker → · Palette generator →

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