#AF9833#AF9833

#AF9833 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.121 H 96.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AF9833
RGBrgb(175, 152, 51)
HSLhsl(49, 55%, 44%)
HSVhsv(49, 71%, 69%)
CMYKcmyk(0%, 13.1%, 70.9%, 31.4%)
CIE-LABlab(63.19, -2.77, 53.76)
CIE-LCHlch(63.19, 53.83, 92.94°)
OKLaboklab(68.17% -0.0127 0.12)
OKLCHoklch(68.17% 0.121 96)
XYZxyz(29.5064, 31.8110, 7.7173)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9833 #334AAF
analogous
#AF5A33 #AF9833 #88AF33
triadic
#AF9833 #33AF98 #9833AF
tetradic
#AF9833 #33AF5A #334AAF #AF3388
square
#AF9833 #33AF5A #334AAF #AF3388
split-complementary
#AF9833 #3388AF #5A33AF
monochromatic
#504617 #806F25 #AF9833 #CDB652 #DBCA82

Accessibility & contrast

On white

2.85
#AF9833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AF9833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9833
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9833#FFFFFF#000000##000000
##AF98331.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89524
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#BD8C84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9833;
/* rgb */ color: rgb(175, 152, 51);
/* oklch */ color: oklch(68.2% 0.121 96.0);
Tailwind
colors: {
  custom: {
    50: '#cab671',
    500: '#af9833',
    950: '#000000',
  },
}
SCSS
$custom: #af9833;
$custom-light: #cab671;
$custom-dark: #000000;
JSON
{
  "hex": "#af9833",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 51
  },
  "hsl": {
    "h": 48.871,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68174,
    "c": 0.12062,
    "h": 96
  },
  "luminance": 0.31809
}

Semantic roles & 50–950 ramp

primary
#AF9833
secondary
#7A88C4
accent
#65DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9833

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

Preview Lab → · Contrast checker → · Palette generator →

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