#AFA368#AFA368

#AFA368 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.080 H 98.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AFA368
RGBrgb(175, 163, 104)
HSLhsl(50, 31%, 55%)
HSVhsv(50, 41%, 69%)
CMYKcmyk(0%, 6.9%, 40.6%, 31.4%)
CIE-LABlab(66.76, -4.31, 32.21)
CIE-LCHlch(66.76, 32.50, 97.61°)
OKLaboklab(71.19% -0.0112 0.0788)
OKLCHoklch(71.19% 0.08 98.1)
XYZxyz(33.2758, 36.3089, 18.3495)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA368 #6874AF
analogous
#AF8068 #AFA368 #98AF68
triadic
#AFA368 #68AFA3 #A368AF
tetradic
#AFA368 #68AF80 #6874AF #AF6898
square
#AFA368 #68AF80 #6874AF #AF6898
split-complementary
#AFA368 #6898AF #8068AF
monochromatic
#665E36 #8E834B #AFA368 #C4BB90 #D9D4B8

Accessibility & contrast

On white

2.54
#AFA368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AFA368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA368
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA368#FFFFFF#000000##000000
##AFA3681.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA064
Deuteranopia (green-blind)
#B1A46A
Tritanopia (blue-blind)
#B99B94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa368;
/* rgb */ color: rgb(175, 163, 104);
/* oklch */ color: oklch(71.2% 0.080 98.1);
Tailwind
colors: {
  custom: {
    50: '#c8be94',
    500: '#afa368',
    950: '#000000',
  },
}
SCSS
$custom: #afa368;
$custom-light: #c8be94;
$custom-dark: #000000;
JSON
{
  "hex": "#afa368",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 104
  },
  "hsl": {
    "h": 49.859,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.71193,
    "c": 0.07963,
    "h": 98.1
  },
  "luminance": 0.36308
}

Semantic roles & 50–950 ramp

primary
#AFA368
secondary
#AAAFC8
accent
#72C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA368

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

Preview Lab → · Contrast checker → · Palette generator →

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