#AF9736#AF9736

#AF9736 is a light, moderate yellow. Relative luminance 0.315; OKLCH L 68.0% C 0.118 H 95.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AF9736
RGBrgb(175, 151, 54)
HSLhsl(48, 53%, 45%)
HSVhsv(48, 69%, 69%)
CMYKcmyk(0%, 13.7%, 69.1%, 31.4%)
CIE-LABlab(62.94, -2.06, 52.26)
CIE-LCHlch(62.94, 52.30, 92.26°)
OKLaboklab(67.99% -0.0103 0.1173)
OKLCHoklch(67.99% 0.118 95)
XYZxyz(29.4131, 31.5151, 8.0231)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9736 #364EAF
analogous
#AF5A36 #AF9736 #8BAF36
triadic
#AF9736 #36AF97 #9736AF
tetradic
#AF9736 #36AF5A #364EAF #AF368B
square
#AF9736 #36AF5A #364EAF #AF368B
split-complementary
#AF9736 #368BAF #5A36AF
monochromatic
#514619 #806F28 #AF9736 #CBB457 #DAC986

Accessibility & contrast

On white

2.88
#AF9736 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AF9736 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9736
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9736#FFFFFF#000000##000000
##AF97361.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69429
Deuteranopia (green-blind)
#AD9B3B
Tritanopia (blue-blind)
#BD8B83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9736;
/* rgb */ color: rgb(175, 151, 54);
/* oklch */ color: oklch(68.0% 0.118 95.0);
Tailwind
colors: {
  custom: {
    50: '#cab572',
    500: '#af9736',
    950: '#000000',
  },
}
SCSS
$custom: #af9736;
$custom-light: #cab572;
$custom-dark: #000000;
JSON
{
  "hex": "#af9736",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 54
  },
  "hsl": {
    "h": 48.099,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67987,
    "c": 0.11777,
    "h": 95
  },
  "luminance": 0.31514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9736

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

Preview Lab → · Contrast checker → · Palette generator →

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