#AF9848#AF9848

#AF9848 is a light, moderate yellow. Relative luminance 0.320; OKLCH L 68.4% C 0.104 H 93.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AF9848
RGBrgb(175, 152, 72)
HSLhsl(47, 42%, 48%)
HSVhsv(47, 59%, 69%)
CMYKcmyk(0%, 13.1%, 58.9%, 31.4%)
CIE-LABlab(63.38, -1.41, 44.48)
CIE-LCHlch(63.38, 44.50, 91.81°)
OKLaboklab(68.38% -0.0062 0.1034)
OKLCHoklch(68.38% 0.104 93.5)
XYZxyz(30.0784, 32.0398, 10.7296)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9848 #485FAF
analogous
#AF6448 #AF9848 #92AF48
triadic
#AF9848 #48AF98 #9848AF
tetradic
#AF9848 #48AF64 #485FAF #AF4892
square
#AF9848 #48AF64 #485FAF #AF4892
split-complementary
#AF9848 #4892AF #6448AF
monochromatic
#584D24 #847236 #AF9848 #C4B170 #D6C99B

Accessibility & contrast

On white

2.83
#AF9848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AF9848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9848
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9848#FFFFFF#000000##000000
##AF98481.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9848;
/* rgb */ color: rgb(175, 152, 72);
/* oklch */ color: oklch(68.4% 0.104 93.5);
Tailwind
colors: {
  custom: {
    50: '#c9b67e',
    500: '#af9848',
    950: '#000000',
  },
}
SCSS
$custom: #af9848;
$custom-light: #c9b67e;
$custom-dark: #000000;
JSON
{
  "hex": "#af9848",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 72
  },
  "hsl": {
    "h": 46.602,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68385,
    "c": 0.10361,
    "h": 93.5
  },
  "luminance": 0.32038
}

Semantic roles & 50–950 ramp

primary
#AF9848
secondary
#909CC2
accent
#72D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9848

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

Preview Lab → · Contrast checker → · Palette generator →

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