#AF9844#AF9844

#AF9844 is a light, moderate yellow. Relative luminance 0.320; OKLCH L 68.3% C 0.107 H 94.1°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AF9844
RGBrgb(175, 152, 68)
HSLhsl(47, 44%, 48%)
HSVhsv(47, 61%, 69%)
CMYKcmyk(0%, 13.1%, 61.1%, 31.4%)
CIE-LABlab(63.33, -1.71, 46.35)
CIE-LCHlch(63.33, 46.38, 92.11°)
OKLaboklab(68.34% -0.0076 0.1069)
OKLCHoklch(68.34% 0.107 94.1)
XYZxyz(29.9521, 31.9893, 10.0646)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9844 #445BAF
analogous
#AF6344 #AF9844 #90AF44
triadic
#AF9844 #44AF98 #9844AF
tetradic
#AF9844 #44AF63 #445BAF #AF4490
square
#AF9844 #44AF63 #445BAF #AF4490
split-complementary
#AF9844 #4490AF #6344AF
monochromatic
#574B22 #837233 #AF9844 #C5B26B #D7C997

Accessibility & contrast

On white

2.84
#AF9844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AF9844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9844
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9844#FFFFFF#000000##000000
##AF98441.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7953B
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#BC8D86
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9844;
/* rgb */ color: rgb(175, 152, 68);
/* oklch */ color: oklch(68.3% 0.107 94.1);
Tailwind
colors: {
  custom: {
    50: '#cab67b',
    500: '#af9844',
    950: '#000000',
  },
}
SCSS
$custom: #af9844;
$custom-light: #cab67b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9844",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 68
  },
  "hsl": {
    "h": 47.103,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68338,
    "c": 0.10721,
    "h": 94.1
  },
  "luminance": 0.31988
}

Semantic roles & 50–950 ramp

primary
#AF9844
secondary
#8C98C2
accent
#6FD454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9844

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

Preview Lab → · Contrast checker → · Palette generator →

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