#AFCA8B#AFCA8B

#AFCA8B is a light, moderate yellow-green. Relative luminance 0.532; OKLCH L 80.3% C 0.090 H 127.2°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#AFCA8B
RGBrgb(175, 202, 139)
HSLhsl(86, 37%, 67%)
HSVhsv(86, 31%, 79%)
CMYKcmyk(13.4%, 0%, 31.2%, 20.8%)
CIE-LABlab(78.00, -19.99, 28.55)
CIE-LCHlch(78.00, 34.85, 125.00°)
OKLaboklab(80.33% -0.0541 0.0714)
OKLCHoklch(80.33% 0.09 127.2)
XYZxyz(43.4593, 53.2188, 32.4038)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA8B #A68BCA
analogous
#CAC68B #AFCA8B #90CA8B
triadic
#AFCA8B #8BAFCA #CA8BAF
tetradic
#AFCA8B #8BCAC6 #A68BCA #CA8B90
square
#AFCA8B #8BCAC6 #A68BCA #CA8B90
split-complementary
#AFCA8B #8B90CA #C68BCA
monochromatic
#739645 #92B761 #AFCA8B #CCDDB5 #E9F0DF

Accessibility & contrast

On white

1.80
#AFCA8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#AFCA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA8B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA8B#FFFFFF#000000##000000
##AFCA8B1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C287
Deuteranopia (green-blind)
#CCC08E
Tritanopia (blue-blind)
#B2C4BA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afca8b;
/* rgb */ color: rgb(175, 202, 139);
/* oklch */ color: oklch(80.3% 0.090 127.2);
Tailwind
colors: {
  custom: {
    50: '#c7daad',
    500: '#afca8b',
    950: '#000000',
  },
}
SCSS
$custom: #afca8b;
$custom-light: #c7daad;
$custom-dark: #000000;
JSON
{
  "hex": "#afca8b",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 139
  },
  "hsl": {
    "h": 85.714,
    "s": 37.278,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8033,
    "c": 0.08962,
    "h": 127.2
  },
  "luminance": 0.53219
}

Semantic roles & 50–950 ramp

primary
#AFCA8B
secondary
#785C9D
accent
#35B06A
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #AFCA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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