#AF9136#AF9136

#AF9136 is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.7% C 0.114 H 90.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AF9136
RGBrgb(175, 145, 54)
HSLhsl(45, 53%, 45%)
HSVhsv(45, 69%, 69%)
CMYKcmyk(0%, 17.1%, 69.1%, 31.4%)
CIE-LABlab(61.34, 1.21, 50.60)
CIE-LCHlch(61.34, 50.61, 88.63°)
OKLaboklab(66.72% -0.001 0.1138)
OKLCHoklch(66.72% 0.114 90.5)
XYZxyz(28.4720, 29.6328, 7.7094)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9136 #3654AF
analogous
#AF5536 #AF9136 #90AF36
triadic
#AF9136 #36AF91 #9136AF
tetradic
#AF9136 #36AF55 #3654AF #AF3690
square
#AF9136 #36AF55 #3654AF #AF3690
split-complementary
#AF9136 #3690AF #5536AF
monochromatic
#514319 #806A28 #AF9136 #CBAE57 #DAC586

Accessibility & contrast

On white

3.03
#AF9136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AF9136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9136
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9136#FFFFFF#000000##000000
##AF91361.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2A
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#BD857E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9136;
/* rgb */ color: rgb(175, 145, 54);
/* oklch */ color: oklch(66.7% 0.114 90.5);
Tailwind
colors: {
  custom: {
    50: '#cab072',
    500: '#af9136',
    950: '#000000',
  },
}
SCSS
$custom: #af9136;
$custom-light: #cab072;
$custom-dark: #000000;
JSON
{
  "hex": "#af9136",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 54
  },
  "hsl": {
    "h": 45.124,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6672,
    "c": 0.1138,
    "h": 90.5
  },
  "luminance": 0.29631
}

Semantic roles & 50–950 ramp

primary
#AF9136
secondary
#7D8FC3
accent
#6FDC4C
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9136

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

Preview Lab → · Contrast checker → · Palette generator →

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