#AFCB78#AFCB78

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

Color values

HEX#AFCB78
RGBrgb(175, 203, 120)
HSLhsl(80, 44%, 63%)
HSVhsv(80, 41%, 80%)
CMYKcmyk(13.8%, 0%, 40.9%, 20.4%)
CIE-LABlab(77.98, -22.98, 38.28)
CIE-LCHlch(77.98, 44.65, 120.97°)
OKLaboklab(80.22% -0.0633 0.0935)
OKLCHoklch(80.22% 0.113 124.1)
XYZxyz(42.4251, 53.1817, 25.7957)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB78 #9478CB
analogous
#CBBD78 #AFCB78 #85CB78
triadic
#AFCB78 #78AFCB #CB78AF
tetradic
#AFCB78 #78CBBD #9478CB #CB7885
square
#AFCB78 #78CBBD #9478CB #CB7885
split-complementary
#AFCB78 #7885CB #BD78CB
monochromatic
#739138 #95BA4C #AFCB78 #C9DCA4 #E3EDD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCB78#FFFFFF#000000##000000
##AFCB781.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)
#D4C272
Deuteranopia (green-blind)
#D0C17C
Tritanopia (blue-blind)
#B4C4B7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcb78;
/* rgb */ color: rgb(175, 203, 120);
/* oklch */ color: oklch(80.2% 0.113 124.1);
Tailwind
colors: {
  custom: {
    50: '#c8dba0',
    500: '#afcb78',
    950: '#000000',
  },
}
SCSS
$custom: #afcb78;
$custom-light: #c8dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb78",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 80.241,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80215,
    "c": 0.11289,
    "h": 124.1
  },
  "luminance": 0.53182
}

Semantic roles & 50–950 ramp

primary
#AFCB78
secondary
#685098
accent
#2EB85C
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCB78

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

Preview Lab → · Contrast checker → · Palette generator →

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