#AFA378#AFA378

#AFA378 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.060 H 94.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#AFA378
RGBrgb(175, 163, 120)
HSLhsl(47, 26%, 58%)
HSVhsv(47, 31%, 69%)
CMYKcmyk(0%, 6.9%, 31.4%, 31.4%)
CIE-LABlab(67.03, -2.35, 23.96)
CIE-LCHlch(67.03, 24.08, 95.60°)
OKLaboklab(71.49% -0.0046 0.0601)
OKLCHoklch(71.49% 0.06 94.4)
XYZxyz(34.1669, 36.6653, 23.0429)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA378 #7884AF
analogous
#AF8778 #AFA378 #9FAF78
triadic
#AFA378 #78AFA3 #A378AF
tetradic
#AFA378 #78AF87 #7884AF #AF789F
square
#AFA378 #78AF87 #7884AF #AF789F
split-complementary
#AFA378 #789FAF #8778AF
monochromatic
#6C6340 #938657 #AFA378 #C6BD9E #DDD7C5

Accessibility & contrast

On white

2.52
#AFA378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#AFA378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA378
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA378#FFFFFF#000000##000000
##AFA3781.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA175
Deuteranopia (green-blind)
#AFA579
Tritanopia (blue-blind)
#B89D98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa378;
/* rgb */ color: rgb(175, 163, 120);
/* oklch */ color: oklch(71.5% 0.060 94.4);
Tailwind
colors: {
  custom: {
    50: '#c7be9f',
    500: '#afa378',
    950: '#000000',
  },
}
SCSS
$custom: #afa378;
$custom-light: #c7be9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa378",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 120
  },
  "hsl": {
    "h": 46.909,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.71494,
    "c": 0.06028,
    "h": 94.4
  },
  "luminance": 0.36664
}

Semantic roles & 50–950 ramp

primary
#AFA378
secondary
#B6BBCC
accent
#7AC266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA378

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

Preview Lab → · Contrast checker → · Palette generator →

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