#AF9333#AF9333

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

Color values

HEX#AF9333
RGBrgb(175, 147, 51)
HSLhsl(46, 55%, 44%)
HSVhsv(46, 71%, 69%)
CMYKcmyk(0%, 16%, 70.9%, 31.4%)
CIE-LABlab(61.85, -0.05, 52.41)
CIE-LCHlch(61.85, 52.41, 90.06°)
OKLaboklab(67.11% -0.005 0.1171)
OKLCHoklch(67.11% 0.117 92.4)
XYZxyz(28.7120, 30.2221, 7.4525)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9333 #334FAF
analogous
#AF5533 #AF9333 #8DAF33
triadic
#AF9333 #33AF93 #9333AF
tetradic
#AF9333 #33AF55 #334FAF #AF338D
square
#AF9333 #33AF55 #334FAF #AF338D
split-complementary
#AF9333 #338DAF #5533AF
monochromatic
#504317 #806B25 #AF9333 #CDB152 #DBC782

Accessibility & contrast

On white

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

On black

7.04
#AF9333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9333
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9333#FFFFFF#000000##000000
##AF93331.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39126
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#BD877F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9333;
/* rgb */ color: rgb(175, 147, 51);
/* oklch */ color: oklch(67.1% 0.117 92.4);
Tailwind
colors: {
  custom: {
    50: '#cab270',
    500: '#af9333',
    950: '#000000',
  },
}
SCSS
$custom: #af9333;
$custom-light: #cab270;
$custom-dark: #000000;
JSON
{
  "hex": "#af9333",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 51
  },
  "hsl": {
    "h": 46.452,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.11719,
    "h": 92.4
  },
  "luminance": 0.3022
}

Semantic roles & 50–950 ramp

primary
#AF9333
secondary
#7A8BC4
accent
#6BDE4A
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9333

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

Preview Lab → · Contrast checker → · Palette generator →

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