#AF9638#AF9638

#AF9638 is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.8% C 0.116 H 94.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AF9638
RGBrgb(175, 150, 56)
HSLhsl(47, 52%, 45%)
HSVhsv(47, 68%, 69%)
CMYKcmyk(0%, 14.3%, 68%, 31.4%)
CIE-LABlab(62.69, -1.40, 51.13)
CIE-LCHlch(62.69, 51.15, 91.57°)
OKLaboklab(67.79% -0.0082 0.1153)
OKLCHoklch(67.79% 0.116 94.1)
XYZxyz(29.3008, 31.2137, 8.2221)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9638 #3851AF
analogous
#AF5A38 #AF9638 #8CAF38
triadic
#AF9638 #38AF96 #9638AF
tetradic
#AF9638 #38AF5A #3851AF #AF388C
square
#AF9638 #38AF5A #3851AF #AF388C
split-complementary
#AF9638 #388CAF #5A38AF
monochromatic
#52471A #816E29 #AF9638 #CAB35A #D9C888

Accessibility & contrast

On white

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

On black

7.24
#AF9638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9638
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9638#FFFFFF#000000##000000
##AF96381.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#BD8A82
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9638;
/* rgb */ color: rgb(175, 150, 56);
/* oklch */ color: oklch(67.8% 0.116 94.1);
Tailwind
colors: {
  custom: {
    50: '#cab474',
    500: '#af9638',
    950: '#000000',
  },
}
SCSS
$custom: #af9638;
$custom-light: #cab474;
$custom-dark: #000000;
JSON
{
  "hex": "#af9638",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 56
  },
  "hsl": {
    "h": 47.395,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67792,
    "c": 0.11557,
    "h": 94.1
  },
  "luminance": 0.31212
}

Semantic roles & 50–950 ramp

primary
#AF9638
secondary
#808EC3
accent
#6BDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9638

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

Preview Lab → · Contrast checker → · Palette generator →

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