#AF9E4E#AF9E4E

#AF9E4E is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.103 H 97.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AF9E4E
RGBrgb(175, 158, 78)
HSLhsl(49, 38%, 50%)
HSVhsv(49, 55%, 69%)
CMYKcmyk(0%, 9.7%, 55.4%, 31.4%)
CIE-LABlab(65.06, -4.17, 43.48)
CIE-LCHlch(65.06, 43.68, 95.48°)
OKLaboklab(69.74% -0.0135 0.102)
OKLCHoklch(69.74% 0.103 97.5)
XYZxyz(31.2823, 34.1190, 12.1441)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E4E #4E5FAF
analogous
#AF6E4E #AF9E4E #8FAF4E
triadic
#AF9E4E #4EAF9E #9E4EAF
tetradic
#AF9E4E #4EAF6E #4E5FAF #AF4E8F
square
#AF9E4E #4EAF6E #4E5FAF #AF4E8F
split-complementary
#AF9E4E #4E8FAF #6E4EAF
monochromatic
#5A5228 #85783B #AF9E4E #C3B578 #D6CCA2

Accessibility & contrast

On white

2.68
#AF9E4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#AF9E4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E4E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E4E#FFFFFF#000000##000000
##AF9E4E1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B46
Deuteranopia (green-blind)
#B0A052
Tritanopia (blue-blind)
#BB948C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e4e;
/* rgb */ color: rgb(175, 158, 78);
/* oklch */ color: oklch(69.7% 0.103 97.5);
Tailwind
colors: {
  custom: {
    50: '#c9ba82',
    500: '#af9e4e',
    950: '#000000',
  },
}
SCSS
$custom: #af9e4e;
$custom-light: #c9ba82;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e4e",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 78
  },
  "hsl": {
    "h": 49.485,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69736,
    "c": 0.10285,
    "h": 97.5
  },
  "luminance": 0.34118
}

Semantic roles & 50–950 ramp

primary
#AF9E4E
secondary
#969EC3
accent
#6ECE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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