#AFCA70#AFCA70

#AFCA70 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.9% C 0.120 H 122.8°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#AFCA70
RGBrgb(175, 202, 112)
HSLhsl(78, 46%, 62%)
HSVhsv(78, 45%, 79%)
CMYKcmyk(13.4%, 0%, 44.6%, 20.8%)
CIE-LABlab(77.59, -23.42, 41.80)
CIE-LCHlch(77.59, 47.91, 119.26°)
OKLaboklab(79.87% -0.0651 0.101)
OKLCHoklch(79.87% 0.12 122.8)
XYZxyz(41.7243, 52.5248, 23.2662)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA70 #8B70CA
analogous
#CAB870 #AFCA70 #82CA70
triadic
#AFCA70 #70AFCA #CA70AF
tetradic
#AFCA70 #70CAB8 #8B70CA #CA7082
square
#AFCA70 #70CAB8 #8B70CA #CA7082
split-complementary
#AFCA70 #7082CA #B870CA
monochromatic
#718C34 #96B844 #AFCA70 #C8DB9D #E1EBC9

Accessibility & contrast

On white

1.83
#AFCA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#AFCA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA70
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA70#FFFFFF#000000##000000
##AFCA701.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C069
Deuteranopia (green-blind)
#D0C075
Tritanopia (blue-blind)
#B5C2B5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca70;
/* rgb */ color: rgb(175, 202, 112);
/* oklch */ color: oklch(79.9% 0.120 122.8);
Tailwind
colors: {
  custom: {
    50: '#c8da9b',
    500: '#afca70',
    950: '#000000',
  },
}
SCSS
$custom: #afca70;
$custom-light: #c8da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afca70",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 112
  },
  "hsl": {
    "h": 78,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.79868,
    "c": 0.12014,
    "h": 122.8
  },
  "luminance": 0.52525
}

Semantic roles & 50–950 ramp

primary
#AFCA70
secondary
#614B93
accent
#2CB957
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA70

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

Preview Lab → · Contrast checker → · Palette generator →

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