#AF9E43#AF9E43

#AF9E43 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.6% C 0.113 H 98.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AF9E43
RGBrgb(175, 158, 67)
HSLhsl(51, 45%, 47%)
HSVhsv(51, 62%, 69%)
CMYKcmyk(0%, 9.7%, 61.7%, 31.4%)
CIE-LABlab(64.94, -5.01, 48.61)
CIE-LCHlch(64.94, 48.87, 95.88°)
OKLaboklab(69.61% -0.0172 0.1116)
OKLCHoklch(69.61% 0.113 98.8)
XYZxyz(30.9204, 33.9743, 10.2381)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E43 #4354AF
analogous
#AF6843 #AF9E43 #8AAF43
triadic
#AF9E43 #43AF9E #9E43AF
tetradic
#AF9E43 #43AF68 #4354AF #AF438A
square
#AF9E43 #43AF68 #4354AF #AF438A
split-complementary
#AF9E43 #438AAF #6843AF
monochromatic
#564E21 #837632 #AF9E43 #C6B769 #D7CC96

Accessibility & contrast

On white

2.69
#AF9E43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#AF9E43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E43
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E43#FFFFFF#000000##000000
##AF9E431.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A39
Deuteranopia (green-blind)
#B1A048
Tritanopia (blue-blind)
#BC938A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e43;
/* rgb */ color: rgb(175, 158, 67);
/* oklch */ color: oklch(69.6% 0.113 98.8);
Tailwind
colors: {
  custom: {
    50: '#caba7b',
    500: '#af9e43',
    950: '#000000',
  },
}
SCSS
$custom: #af9e43;
$custom-light: #caba7b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e43",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 67
  },
  "hsl": {
    "h": 50.556,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69608,
    "c": 0.11294,
    "h": 98.8
  },
  "luminance": 0.33973
}

Semantic roles & 50–950 ramp

primary
#AF9E43
secondary
#8B94C2
accent
#68D453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9E43

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

Preview Lab → · Contrast checker → · Palette generator →

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