#AFCB46#AFCB46

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

Color values

HEX#AFCB46
RGBrgb(175, 203, 70)
HSLhsl(73, 56%, 54%)
HSVhsv(73, 66%, 80%)
CMYKcmyk(13.8%, 0%, 65.5%, 20.4%)
CIE-LABlab(77.44, -27.63, 60.72)
CIE-LCHlch(77.44, 66.71, 114.46°)
OKLaboklab(79.61% -0.0807 0.1377)
OKLCHoklch(79.61% 0.16 120.4)
XYZxyz(40.1412, 52.2681, 13.7672)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB46 #6246CB
analogous
#CBA546 #AFCB46 #6CCB46
triadic
#AFCB46 #46AFCB #CB46AF
tetradic
#AFCB46 #46CBA5 #6246CB #CB466C
square
#AFCB46 #46CBA5 #6246CB #CB466C
split-complementary
#AFCB46 #466CCB #A546CB
monochromatic
#647621 #8CA52E #AFCB46 #C4D876 #D8E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCB46#FFFFFF#000000##000000
##AFCB461.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)
#D7C034
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#B8C1B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb46;
/* rgb */ color: rgb(175, 203, 70);
/* oklch */ color: oklch(79.6% 0.160 120.4);
Tailwind
colors: {
  custom: {
    50: '#cada80',
    500: '#afcb46',
    950: '#000000',
  },
}
SCSS
$custom: #afcb46;
$custom-light: #cada80;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb46",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 72.632,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79605,
    "c": 0.15958,
    "h": 120.4
  },
  "luminance": 0.52268
}

Semantic roles & 50–950 ramp

primary
#AFCB46
secondary
#46377E
accent
#48DF68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCB46

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

Preview Lab → · Contrast checker → · Palette generator →

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