#AF9442#AF9442

#AF9442 is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.5% C 0.106 H 91.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AF9442
RGBrgb(175, 148, 66)
HSLhsl(45, 45%, 47%)
HSVhsv(45, 62%, 69%)
CMYKcmyk(0%, 15.4%, 62.3%, 31.4%)
CIE-LABlab(62.24, 0.33, 46.09)
CIE-LCHlch(62.24, 46.09, 89.59°)
OKLaboklab(67.47% -0.002 0.1061)
OKLCHoklch(67.47% 0.106 91.1)
XYZxyz(29.2538, 30.6887, 9.5358)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9442 #425DAF
analogous
#AF5E42 #AF9442 #93AF42
triadic
#AF9442 #42AF94 #9442AF
tetradic
#AF9442 #42AF5E #425DAF #AF4293
square
#AF9442 #42AF5E #425DAF #AF4293
split-complementary
#AF9442 #4293AF #5E42AF
monochromatic
#564920 #836E31 #AF9442 #C6AF68 #D7C695

Accessibility & contrast

On white

2.94
#AF9442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AF9442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9442
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9442#FFFFFF#000000##000000
##AF94421.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39239
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#BC8982
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9442;
/* rgb */ color: rgb(175, 148, 66);
/* oklch */ color: oklch(67.5% 0.106 91.1);
Tailwind
colors: {
  custom: {
    50: '#cab379',
    500: '#af9442',
    950: '#000000',
  },
}
SCSS
$custom: #af9442;
$custom-light: #cab379;
$custom-dark: #000000;
JSON
{
  "hex": "#af9442",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 66
  },
  "hsl": {
    "h": 45.138,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67471,
    "c": 0.10612,
    "h": 91.1
  },
  "luminance": 0.30687
}

Semantic roles & 50–950 ramp

primary
#AF9442
secondary
#8A98C2
accent
#73D553
background
#FCFAF7
surface
#F9F5EE
border
#D2CFC9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9442

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

Preview Lab → · Contrast checker → · Palette generator →

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