#AF9334#AF9334

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

Color values

HEX#AF9334
RGBrgb(175, 147, 52)
HSLhsl(46, 54%, 45%)
HSVhsv(46, 70%, 69%)
CMYKcmyk(0%, 16%, 70.3%, 31.4%)
CIE-LABlab(61.85, 0.00, 51.99)
CIE-LCHlch(61.85, 51.99, 90.00°)
OKLaboklab(67.12% -0.0047 0.1164)
OKLCHoklch(67.12% 0.116 92.3)
XYZxyz(28.7343, 30.2310, 7.5698)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9334 #3450AF
analogous
#AF5534 #AF9334 #8EAF34
triadic
#AF9334 #34AF93 #9334AF
tetradic
#AF9334 #34AF55 #3450AF #AF348E
square
#AF9334 #34AF55 #3450AF #AF348E
split-complementary
#AF9334 #348EAF #5534AF
monochromatic
#514418 #806B26 #AF9334 #CCB154 #DAC683

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9334#FFFFFF#000000##000000
##AF93341.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)
#A39127
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#BD8780
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9334;
/* rgb */ color: rgb(175, 147, 52);
/* oklch */ color: oklch(67.1% 0.116 92.3);
Tailwind
colors: {
  custom: {
    50: '#cab271',
    500: '#af9334',
    950: '#000000',
  },
}
SCSS
$custom: #af9334;
$custom-light: #cab271;
$custom-dark: #000000;
JSON
{
  "hex": "#af9334",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 52
  },
  "hsl": {
    "h": 46.341,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67123,
    "c": 0.11648,
    "h": 92.3
  },
  "luminance": 0.30229
}

Semantic roles & 50–950 ramp

primary
#AF9334
secondary
#7B8CC4
accent
#6CDE4A
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9334

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

Preview Lab → · Contrast checker → · Palette generator →

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