#AFCB3F#AFCB3F

#AFCB3F is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.5% C 0.164 H 120.1°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#AFCB3F
RGBrgb(175, 203, 63)
HSLhsl(72, 57%, 52%)
HSVhsv(72, 69%, 80%)
CMYKcmyk(13.8%, 0%, 69%, 20.4%)
CIE-LABlab(77.39, -28.06, 63.38)
CIE-LCHlch(77.39, 69.31, 113.88°)
OKLaboklab(79.55% -0.0825 0.1422)
OKLCHoklch(79.55% 0.164 120.1)
XYZxyz(39.9330, 52.1849, 12.6706)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB3F #5B3FCB
analogous
#CBA13F #AFCB3F #69CB3F
triadic
#AFCB3F #3FAFCB #CB3FAF
tetradic
#AFCB3F #3FCBA1 #5B3FCB #CB3F69
square
#AFCB3F #3FCBA1 #5B3FCB #CB3F69
split-complementary
#AFCB3F #3F69CB #A13FCB
monochromatic
#61711F #8AA12C #AFCB3F #C3D86F #D7E59F

Accessibility & contrast

On white

1.84
#AFCB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#AFCB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB3F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB3F#FFFFFF#000000##000000
##AFCB3F1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF29
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb3f;
/* rgb */ color: rgb(175, 203, 63);
/* oklch */ color: oklch(79.5% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#cada7c',
    500: '#afcb3f',
    950: '#000000',
  },
}
SCSS
$custom: #afcb3f;
$custom-light: #cada7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb3f",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 72,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79549,
    "c": 0.16443,
    "h": 120.1
  },
  "luminance": 0.52185
}

Semantic roles & 50–950 ramp

primary
#AFCB3F
secondary
#42347A
accent
#47E166
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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