#AFC374#AFC374

#AFC374 is a light, moderate yellow-green. Relative luminance 0.494; OKLCH L 78.4% C 0.106 H 120.5°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#AFC374
RGBrgb(175, 195, 116)
HSLhsl(75, 40%, 61%)
HSVhsv(75, 41%, 76%)
CMYKcmyk(10.3%, 0%, 40.5%, 23.5%)
CIE-LABlab(75.70, -19.50, 37.41)
CIE-LCHlch(75.70, 42.19, 117.53°)
OKLaboklab(78.37% -0.0538 0.0913)
OKLCHoklch(78.37% 0.106 120.5)
XYZxyz(40.3467, 49.4052, 23.9302)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC374 #8874C3
analogous
#C3AF74 #AFC374 #87C374
triadic
#AFC374 #74AFC3 #C374AF
tetradic
#AFC374 #74C3AF #8874C3 #C37487
square
#AFC374 #74C3AF #8874C3 #C37487
split-complementary
#AFC374 #7487C3 #AF74C3
monochromatic
#718439 #95AE4B #AFC374 #C8D59F #E0E8C9

Accessibility & contrast

On white

1.93
#AFC374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#AFC374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC374
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC374#FFFFFF#000000##000000
##AFC3741.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB6E
Deuteranopia (green-blind)
#C9BB78
Tritanopia (blue-blind)
#B6BCB0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc374;
/* rgb */ color: rgb(175, 195, 116);
/* oklch */ color: oklch(78.4% 0.106 120.5);
Tailwind
colors: {
  custom: {
    50: '#c8d59d',
    500: '#afc374',
    950: '#000000',
  },
}
SCSS
$custom: #afc374;
$custom-light: #c8d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc374",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 116
  },
  "hsl": {
    "h": 75.19,
    "s": 39.698,
    "l": 60.98
  },
  "oklch": {
    "l": 0.78371,
    "c": 0.10594,
    "h": 120.5
  },
  "luminance": 0.49405
}

Semantic roles & 50–950 ramp

primary
#AFC374
secondary
#C2BBD8
accent
#33B353
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC374

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

Preview Lab → · Contrast checker → · Palette generator →

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