#AF9633#AF9633

#AF9633 is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.119 H 94.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AF9633
RGBrgb(175, 150, 51)
HSLhsl(48, 55%, 44%)
HSVhsv(48, 71%, 69%)
CMYKcmyk(0%, 14.3%, 70.9%, 31.4%)
CIE-LABlab(62.65, -1.68, 53.22)
CIE-LCHlch(62.65, 53.24, 91.81°)
OKLaboklab(67.75% -0.0096 0.1188)
OKLCHoklch(67.75% 0.119 94.6)
XYZxyz(29.1846, 31.1673, 7.6100)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9633 #334CAF
analogous
#AF5833 #AF9633 #8AAF33
triadic
#AF9633 #33AF96 #9633AF
tetradic
#AF9633 #33AF58 #334CAF #AF338A
square
#AF9633 #33AF58 #334CAF #AF338A
split-complementary
#AF9633 #338AAF #5833AF
monochromatic
#504517 #806D25 #AF9633 #CDB452 #DBC982

Accessibility & contrast

On white

2.90
#AF9633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AF9633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9633
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9633#FFFFFF#000000##000000
##AF96331.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69325
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#BD8A82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9633;
/* rgb */ color: rgb(175, 150, 51);
/* oklch */ color: oklch(67.7% 0.119 94.6);
Tailwind
colors: {
  custom: {
    50: '#cab471',
    500: '#af9633',
    950: '#000000',
  },
}
SCSS
$custom: #af9633;
$custom-light: #cab471;
$custom-dark: #000000;
JSON
{
  "hex": "#af9633",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 51
  },
  "hsl": {
    "h": 47.903,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67749,
    "c": 0.1192,
    "h": 94.6
  },
  "luminance": 0.31166
}

Semantic roles & 50–950 ramp

primary
#AF9633
secondary
#7A89C4
accent
#68DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9633

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

Preview Lab → · Contrast checker → · Palette generator →

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