#AFCF3E#AFCF3E

#AFCF3E is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.5% C 0.170 H 121.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#AFCF3E
RGBrgb(175, 207, 62)
HSLhsl(73, 60%, 53%)
HSVhsv(73, 70%, 81%)
CMYKcmyk(15.5%, 0%, 70%, 18.8%)
CIE-LABlab(78.51, -30.02, 64.87)
CIE-LCHlch(78.51, 71.47, 114.83°)
OKLaboklab(80.45% -0.088 0.1452)
OKLCHoklch(80.45% 0.17 121.2)
XYZxyz(40.8621, 54.0874, 12.8437)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF3E #5E3ECF
analogous
#CFA63E #AFCF3E #67CF3E
triadic
#AFCF3E #3EAFCF #CF3EAF
tetradic
#AFCF3E #3ECFA6 #5E3ECF #CF3E67
square
#AFCF3E #3ECFA6 #5E3ECF #CF3E67
split-complementary
#AFCF3E #3E67CF #A63ECF
monochromatic
#62751D #8BA629 #AFCF3E #C3DB6F #D8E7A0

Accessibility & contrast

On white

1.78
#AFCF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#AFCF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF3E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF3E#FFFFFF#000000##000000
##AFCF3E1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC326
Deuteranopia (green-blind)
#D8C24A
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf3e;
/* rgb */ color: rgb(175, 207, 62);
/* oklch */ color: oklch(80.5% 0.170 121.2);
Tailwind
colors: {
  custom: {
    50: '#cadd7c',
    500: '#afcf3e',
    950: '#000000',
  },
}
SCSS
$custom: #afcf3e;
$custom-light: #cadd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf3e",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 62
  },
  "hsl": {
    "h": 73.241,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80451,
    "c": 0.1698,
    "h": 121.2
  },
  "luminance": 0.54087
}

Semantic roles & 50–950 ramp

primary
#AFCF3E
secondary
#44337E
accent
#44E368
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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