#AFC674#AFC674

#AFC674 is a light, moderate yellow-green. Relative luminance 0.508; OKLCH L 79.0% C 0.110 H 121.8°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#AFC674
RGBrgb(175, 198, 116)
HSLhsl(77, 42%, 62%)
HSVhsv(77, 41%, 78%)
CMYKcmyk(11.6%, 0%, 41.4%, 22.4%)
CIE-LABlab(76.54, -20.99, 38.47)
CIE-LCHlch(76.54, 43.82, 118.62°)
OKLaboklab(79.04% -0.058 0.0937)
OKLCHoklch(79.04% 0.11 121.8)
XYZxyz(41.0256, 50.7631, 24.1565)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC674 #8B74C6
analogous
#C6B474 #AFC674 #86C674
triadic
#AFC674 #74AFC6 #C674AF
tetradic
#AFC674 #74C6B4 #8B74C6 #C67486
square
#AFC674 #74C6B4 #8B74C6 #C67486
split-complementary
#AFC674 #7486C6 #B474C6
monochromatic
#718838 #96B34A #AFC674 #C8D89F #E1EACB

Accessibility & contrast

On white

1.88
#AFC674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#AFC674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC674
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC674#FFFFFF#000000##000000
##AFC6741.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6E
Deuteranopia (green-blind)
#CCBD78
Tritanopia (blue-blind)
#B5BEB2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc674;
/* rgb */ color: rgb(175, 198, 116);
/* oklch */ color: oklch(79.0% 0.110 121.8);
Tailwind
colors: {
  custom: {
    50: '#c8d79d',
    500: '#afc674',
    950: '#000000',
  },
}
SCSS
$custom: #afc674;
$custom-light: #c8d79d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc674",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 116
  },
  "hsl": {
    "h": 76.829,
    "s": 41.837,
    "l": 61.569
  },
  "oklch": {
    "l": 0.79037,
    "c": 0.11017,
    "h": 121.8
  },
  "luminance": 0.50763
}

Semantic roles & 50–950 ramp

primary
#AFC674
secondary
#614F90
accent
#31B556
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC674

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

Preview Lab → · Contrast checker → · Palette generator →

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