#AF9836#AF9836

#AF9836 is a light, moderate yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.118 H 95.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AF9836
RGBrgb(175, 152, 54)
HSLhsl(49, 53%, 45%)
HSVhsv(49, 69%, 69%)
CMYKcmyk(0%, 13.1%, 69.1%, 31.4%)
CIE-LABlab(63.21, -2.60, 52.53)
CIE-LCHlch(63.21, 52.60, 92.84°)
OKLaboklab(68.2% -0.0119 0.1179)
OKLCHoklch(68.2% 0.119 95.8)
XYZxyz(29.5747, 31.8383, 8.0769)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9836 #364DAF
analogous
#AF5C36 #AF9836 #8AAF36
triadic
#AF9836 #36AF98 #9836AF
tetradic
#AF9836 #36AF5C #364DAF #AF368A
square
#AF9836 #36AF5C #364DAF #AF368A
split-complementary
#AF9836 #368AAF #5C36AF
monochromatic
#514719 #806F28 #AF9836 #CBB557 #DACA86

Accessibility & contrast

On white

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

On black

7.37
#AF9836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9836
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9836#FFFFFF#000000##000000
##AF98361.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9836;
/* rgb */ color: rgb(175, 152, 54);
/* oklch */ color: oklch(68.2% 0.118 95.8);
Tailwind
colors: {
  custom: {
    50: '#cab673',
    500: '#af9836',
    950: '#000000',
  },
}
SCSS
$custom: #af9836;
$custom-light: #cab673;
$custom-dark: #000000;
JSON
{
  "hex": "#af9836",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 54
  },
  "hsl": {
    "h": 48.595,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68199,
    "c": 0.1185,
    "h": 95.8
  },
  "luminance": 0.31837
}

Semantic roles & 50–950 ramp

primary
#AF9836
secondary
#7D8BC3
accent
#67DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9836

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

Preview Lab → · Contrast checker → · Palette generator →

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