#AFCB79#AFCB79

#AFCB79 is a light, moderate yellow-green. Relative luminance 0.532; OKLCH L 80.2% C 0.112 H 124.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#AFCB79
RGBrgb(175, 203, 121)
HSLhsl(80, 44%, 64%)
HSVhsv(80, 40%, 80%)
CMYKcmyk(13.8%, 0%, 40.4%, 20.4%)
CIE-LABlab(78.00, -22.86, 37.80)
CIE-LCHlch(78.00, 44.17, 121.16°)
OKLaboklab(80.23% -0.0629 0.0924)
OKLCHoklch(80.23% 0.112 124.3)
XYZxyz(42.4861, 53.2061, 26.1170)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB79 #9579CB
analogous
#CBBE79 #AFCB79 #86CB79
triadic
#AFCB79 #79AFCB #CB79AF
tetradic
#AFCB79 #79CBBE #9579CB #CB7986
square
#AFCB79 #79CBBE #9579CB #CB7986
split-complementary
#AFCB79 #7986CB #BE79CB
monochromatic
#739138 #95BA4D #AFCB79 #C9DCA5 #E4EDD1

Accessibility & contrast

On white

1.80
#AFCB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#AFCB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB79
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB79#FFFFFF#000000##000000
##AFCB791.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C273
Deuteranopia (green-blind)
#D0C17D
Tritanopia (blue-blind)
#B4C4B7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcb79;
/* rgb */ color: rgb(175, 203, 121);
/* oklch */ color: oklch(80.2% 0.112 124.3);
Tailwind
colors: {
  custom: {
    50: '#c8dba1',
    500: '#afcb79',
    950: '#000000',
  },
}
SCSS
$custom: #afcb79;
$custom-light: #c8dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb79",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 80.488,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80231,
    "c": 0.11179,
    "h": 124.3
  },
  "luminance": 0.53206
}

Semantic roles & 50–950 ramp

primary
#AFCB79
secondary
#695098
accent
#2EB75D
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCB79

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

Preview Lab → · Contrast checker → · Palette generator →

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