#AFC368#AFC368

#AFC368 is a light, moderate yellow-green. Relative luminance 0.491; OKLCH L 78.2% C 0.119 H 119.4°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#AFC368
RGBrgb(175, 195, 104)
HSLhsl(73, 43%, 59%)
HSVhsv(73, 47%, 76%)
CMYKcmyk(10.3%, 0%, 46.7%, 23.5%)
CIE-LABlab(75.54, -20.84, 43.22)
CIE-LCHlch(75.54, 47.98, 115.74°)
OKLaboklab(78.19% -0.0585 0.1036)
OKLCHoklch(78.19% 0.119 119.4)
XYZxyz(39.6932, 49.1438, 20.4886)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC368 #7C68C3
analogous
#C3A968 #AFC368 #81C368
triadic
#AFC368 #68AFC3 #C368AF
tetradic
#AFC368 #68C3A9 #7C68C3 #C36881
square
#AFC368 #68C3A9 #7C68C3 #C36881
split-complementary
#AFC368 #6881C3 #A968C3
monochromatic
#6E7E32 #94AA44 #AFC368 #C6D494 #DDE6C0

Accessibility & contrast

On white

1.94
#AFC368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#AFC368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC368
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC368#FFFFFF#000000##000000
##AFC3681.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBA60
Deuteranopia (green-blind)
#CBBA6D
Tritanopia (blue-blind)
#B7BBAE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc368;
/* rgb */ color: rgb(175, 195, 104);
/* oklch */ color: oklch(78.2% 0.119 119.4);
Tailwind
colors: {
  custom: {
    50: '#c8d595',
    500: '#afc368',
    950: '#000000',
  },
}
SCSS
$custom: #afc368;
$custom-light: #c8d595;
$custom-dark: #000000;
JSON
{
  "hex": "#afc368",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 104
  },
  "hsl": {
    "h": 73.187,
    "s": 43.128,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78189,
    "c": 0.11898,
    "h": 119.4
  },
  "luminance": 0.49144
}

Semantic roles & 50–950 ramp

primary
#AFC368
secondary
#B9B1D5
accent
#55D371
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC368

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

Preview Lab → · Contrast checker → · Palette generator →

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