#AFCB80#AFCB80

#AFCB80 is a light, moderate yellow-green. Relative luminance 0.534; OKLCH L 80.3% C 0.104 H 125.3°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#AFCB80
RGBrgb(175, 203, 128)
HSLhsl(82, 42%, 65%)
HSVhsv(82, 37%, 80%)
CMYKcmyk(13.8%, 0%, 36.9%, 20.4%)
CIE-LABlab(78.10, -21.98, 34.37)
CIE-LCHlch(78.10, 40.79, 122.60°)
OKLaboklab(80.35% -0.0601 0.0848)
OKLCHoklch(80.35% 0.104 125.3)
XYZxyz(42.9311, 53.3841, 28.4603)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB80 #9C80CB
analogous
#CBC180 #AFCB80 #8ACB80
triadic
#AFCB80 #80AFCB #CB80AF
tetradic
#AFCB80 #80CBC1 #9C80CB #CB808A
square
#AFCB80 #80CBC1 #9C80CB #CB808A
split-complementary
#AFCB80 #808ACB #C180CB
monochromatic
#73943D #94B955 #AFCB80 #CADDAB #E6EFD7

Accessibility & contrast

On white

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

On black

11.68
#AFCB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB80
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB80#FFFFFF#000000##000000
##AFCB801.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27B
Deuteranopia (green-blind)
#CFC184
Tritanopia (blue-blind)
#B4C4B8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcb80;
/* rgb */ color: rgb(175, 203, 128);
/* oklch */ color: oklch(80.3% 0.104 125.3);
Tailwind
colors: {
  custom: {
    50: '#c8dba5',
    500: '#afcb80',
    950: '#000000',
  },
}
SCSS
$custom: #afcb80;
$custom-light: #c8dba5;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb80",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 128
  },
  "hsl": {
    "h": 82.4,
    "s": 41.899,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80349,
    "c": 0.10392,
    "h": 125.3
  },
  "luminance": 0.53384
}

Semantic roles & 50–950 ramp

primary
#AFCB80
secondary
#6F559B
accent
#31B562
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCB80

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

Preview Lab → · Contrast checker → · Palette generator →

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