#AFCB73#AFCB73

#AFCB73 is a light, moderate yellow-green. Relative luminance 0.531; OKLCH L 80.1% C 0.118 H 123.5°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#AFCB73
RGBrgb(175, 203, 115)
HSLhsl(79, 46%, 62%)
HSVhsv(79, 43%, 80%)
CMYKcmyk(13.8%, 0%, 43.3%, 20.4%)
CIE-LABlab(77.91, -23.57, 40.71)
CIE-LCHlch(77.91, 47.03, 120.07°)
OKLaboklab(80.14% -0.0653 0.0987)
OKLCHoklch(80.14% 0.118 123.5)
XYZxyz(42.1296, 53.0635, 24.2391)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB73 #8F73CB
analogous
#CBBB73 #AFCB73 #83CB73
triadic
#AFCB73 #73AFCB #CB73AF
tetradic
#AFCB73 #73CBBB #8F73CB #CB7383
square
#AFCB73 #73CBBB #8F73CB #CB7383
split-complementary
#AFCB73 #7383CB #BB73CB
monochromatic
#728F35 #95BA46 #AFCB73 #C8DCA0 #E2ECCC

Accessibility & contrast

On white

1.81
#AFCB73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#AFCB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB73
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB73#FFFFFF#000000##000000
##AFCB731.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16C
Deuteranopia (green-blind)
#D0C078
Tritanopia (blue-blind)
#B5C3B6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcb73;
/* rgb */ color: rgb(175, 203, 115);
/* oklch */ color: oklch(80.1% 0.118 123.5);
Tailwind
colors: {
  custom: {
    50: '#c8da9d',
    500: '#afcb73',
    950: '#000000',
  },
}
SCSS
$custom: #afcb73;
$custom-light: #c8da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb73",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 115
  },
  "hsl": {
    "h": 79.091,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80136,
    "c": 0.11833,
    "h": 123.5
  },
  "luminance": 0.53064
}

Semantic roles & 50–950 ramp

primary
#AFCB73
secondary
#644D95
accent
#2CB959
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCB73

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

Preview Lab → · Contrast checker → · Palette generator →

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