#AFBC78#AFBC78

#AFBC78 is a light, moderate yellow-green. Relative luminance 0.464; OKLCH L 76.9% C 0.091 H 117.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#AFBC78
RGBrgb(175, 188, 120)
HSLhsl(71, 34%, 60%)
HSVhsv(71, 36%, 74%)
CMYKcmyk(6.9%, 0%, 36.2%, 26.3%)
CIE-LABlab(73.83, -15.48, 32.95)
CIE-LCHlch(73.83, 36.40, 115.16°)
OKLaboklab(76.89% -0.0421 0.0812)
OKLCHoklch(76.89% 0.091 117.4)
XYZxyz(39.0526, 46.4367, 24.6715)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC78 #8578BC
analogous
#BCA778 #AFBC78 #8DBC78
triadic
#AFBC78 #78AFBC #BC78AF
tetradic
#AFBC78 #78BCA7 #8578BC #BC788D
square
#AFBC78 #78BCA7 #8578BC #BC788D
split-complementary
#AFBC78 #788DBC #A778BC
monochromatic
#707C3E #95A552 #AFBC78 #C7D0A1 #DFE5CA

Accessibility & contrast

On white

2.04
#AFBC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#AFBC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC78
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC78#FFFFFF#000000##000000
##AFBC781.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B573
Deuteranopia (green-blind)
#C3B67B
Tritanopia (blue-blind)
#B6B5AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc78;
/* rgb */ color: rgb(175, 188, 120);
/* oklch */ color: oklch(76.9% 0.091 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d0a0',
    500: '#afbc78',
    950: '#000000',
  },
}
SCSS
$custom: #afbc78;
$custom-light: #c8d0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc78",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 120
  },
  "hsl": {
    "h": 71.471,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.76893,
    "c": 0.09148,
    "h": 117.4
  },
  "luminance": 0.46436
}

Semantic roles & 50–950 ramp

primary
#AFBC78
secondary
#C0BBD5
accent
#39AC4F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC78

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

Preview Lab → · Contrast checker → · Palette generator →

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