#AF9B36#AF9B36

#AF9B36 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.121 H 97.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AF9B36
RGBrgb(175, 155, 54)
HSLhsl(50, 53%, 45%)
HSVhsv(50, 69%, 69%)
CMYKcmyk(0%, 11.4%, 69.1%, 31.4%)
CIE-LABlab(64.02, -4.22, 53.36)
CIE-LCHlch(64.02, 53.53, 94.52°)
OKLaboklab(68.84% -0.0165 0.1197)
OKLCHoklch(68.84% 0.121 97.9)
XYZxyz(30.0678, 32.8245, 8.2413)
Luminance0.3282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B36 #364AAF
analogous
#AF5F36 #AF9B36 #86AF36
triadic
#AF9B36 #36AF9B #9B36AF
tetradic
#AF9B36 #36AF5F #364AAF #AF3686
square
#AF9B36 #36AF5F #364AAF #AF3686
split-complementary
#AF9B36 #3686AF #5F36AF
monochromatic
#514819 #807228 #AF9B36 #CBB857 #DACC86

Accessibility & contrast

On white

2.78
#AF9B36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AF9B36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B36
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B36#FFFFFF#000000##000000
##AF9B361.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9728
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#BD9086
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9b36;
/* rgb */ color: rgb(175, 155, 54);
/* oklch */ color: oklch(68.8% 0.121 97.9);
Tailwind
colors: {
  custom: {
    50: '#cab873',
    500: '#af9b36',
    950: '#000000',
  },
}
SCSS
$custom: #af9b36;
$custom-light: #cab873;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b36",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 54
  },
  "hsl": {
    "h": 50.083,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6884,
    "c": 0.12078,
    "h": 97.9
  },
  "luminance": 0.32823
}

Semantic roles & 50–950 ramp

primary
#AF9B36
secondary
#7D89C3
accent
#63DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9B36

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

Preview Lab → · Contrast checker → · Palette generator →

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