#AFC970#AFC970

#AFC970 is a light, moderate yellow-green. Relative luminance 0.521; OKLCH L 79.6% C 0.119 H 122.5°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#AFC970
RGBrgb(175, 201, 112)
HSLhsl(78, 45%, 61%)
HSVhsv(78, 44%, 79%)
CMYKcmyk(12.9%, 0%, 44.3%, 21.2%)
CIE-LABlab(77.31, -22.93, 41.45)
CIE-LCHlch(77.31, 47.37, 118.95°)
OKLaboklab(79.64% -0.0637 0.1002)
OKLCHoklch(79.64% 0.119 122.5)
XYZxyz(41.4905, 52.0570, 23.1883)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC970 #8A70C9
analogous
#C9B770 #AFC970 #83C970
triadic
#AFC970 #70AFC9 #C970AF
tetradic
#AFC970 #70C9B7 #8A70C9 #C97083
square
#AFC970 #70C9B7 #8A70C9 #C97083
split-complementary
#AFC970 #7083C9 #B770C9
monochromatic
#718A34 #96B745 #AFC970 #C8DA9C #E1EBC9

Accessibility & contrast

On white

1.84
#AFC970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#AFC970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC970
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC970#FFFFFF#000000##000000
##AFC9701.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C069
Deuteranopia (green-blind)
#CFBF75
Tritanopia (blue-blind)
#B5C1B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afc970;
/* rgb */ color: rgb(175, 201, 112);
/* oklch */ color: oklch(79.6% 0.119 122.5);
Tailwind
colors: {
  custom: {
    50: '#c8d99a',
    500: '#afc970',
    950: '#000000',
  },
}
SCSS
$custom: #afc970;
$custom-light: #c8d99a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc970",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 77.528,
    "s": 45.178,
    "l": 61.373
  },
  "oklch": {
    "l": 0.79644,
    "c": 0.11874,
    "h": 122.5
  },
  "luminance": 0.52057
}

Semantic roles & 50–950 ramp

primary
#AFC970
secondary
#604C92
accent
#2DB856
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC970

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

Preview Lab → · Contrast checker → · Palette generator →

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