#AFCB4B#AFCB4B

#AFCB4B is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.6% C 0.156 H 120.6°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#AFCB4B
RGBrgb(175, 203, 75)
HSLhsl(73, 55%, 55%)
HSVhsv(73, 63%, 80%)
CMYKcmyk(13.8%, 0%, 63.1%, 20.4%)
CIE-LABlab(77.48, -27.28, 58.73)
CIE-LCHlch(77.48, 64.76, 114.92°)
OKLaboklab(79.65% -0.0792 0.1342)
OKLCHoklch(79.65% 0.156 120.6)
XYZxyz(40.3057, 52.3339, 14.6333)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB4B #674BCB
analogous
#CBA74B #AFCB4B #6FCB4B
triadic
#AFCB4B #4BAFCB #CB4BAF
tetradic
#AFCB4B #4BCBA7 #674BCB #CB4B6F
square
#AFCB4B #4BCBA7 #674BCB #CB4B6F
split-complementary
#AFCB4B #4B6FCB #A74BCB
monochromatic
#667923 #8EA831 #AFCB4B #C4D97A #D9E6AA

Accessibility & contrast

On white

1.83
#AFCB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#AFCB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB4B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB4B#FFFFFF#000000##000000
##AFCB4B1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03B
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#B8C1B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb4b;
/* rgb */ color: rgb(175, 203, 75);
/* oklch */ color: oklch(79.6% 0.156 120.6);
Tailwind
colors: {
  custom: {
    50: '#cada83',
    500: '#afcb4b',
    950: '#000000',
  },
}
SCSS
$custom: #afcb4b;
$custom-light: #cada83;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb4b",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 73.125,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79649,
    "c": 0.15582,
    "h": 120.6
  },
  "luminance": 0.52334
}

Semantic roles & 50–950 ramp

primary
#AFCB4B
secondary
#493981
accent
#49DF6A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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