#AFCB45#AFCB45

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

Color values

HEX#AFCB45
RGBrgb(175, 203, 69)
HSLhsl(73, 56%, 53%)
HSVhsv(73, 66%, 80%)
CMYKcmyk(13.8%, 0%, 66%, 20.4%)
CIE-LABlab(77.43, -27.69, 61.11)
CIE-LCHlch(77.43, 67.09, 114.38°)
OKLaboklab(79.6% -0.0809 0.1384)
OKLCHoklch(79.6% 0.16 120.3)
XYZxyz(40.1099, 52.2556, 13.6024)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB45 #6145CB
analogous
#CBA445 #AFCB45 #6CCB45
triadic
#AFCB45 #45AFCB #CB45AF
tetradic
#AFCB45 #45CBA4 #6145CB #CB456C
square
#AFCB45 #45CBA4 #6145CB #CB456C
split-complementary
#AFCB45 #456CCB #A445CB
monochromatic
#637521 #8CA52E #AFCB45 #C4D875 #D8E6A5

Accessibility & contrast

On white

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

On black

11.45
#AFCB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB45
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB45#FFFFFF#000000##000000
##AFCB451.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcb45;
/* rgb */ color: rgb(175, 203, 69);
/* oklch */ color: oklch(79.6% 0.160 120.3);
Tailwind
colors: {
  custom: {
    50: '#cada80',
    500: '#afcb45',
    950: '#000000',
  },
}
SCSS
$custom: #afcb45;
$custom-light: #cada80;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb45",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 72.537,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79597,
    "c": 0.16029,
    "h": 120.3
  },
  "luminance": 0.52256
}

Semantic roles & 50–950 ramp

primary
#AFCB45
secondary
#45377E
accent
#48E068
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCB45

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

Preview Lab → · Contrast checker → · Palette generator →

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