#AFCB47#AFCB47

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

Color values

HEX#AFCB47
RGBrgb(175, 203, 71)
HSLhsl(73, 56%, 54%)
HSVhsv(73, 65%, 80%)
CMYKcmyk(13.8%, 0%, 65%, 20.4%)
CIE-LABlab(77.45, -27.56, 60.33)
CIE-LCHlch(77.45, 66.33, 114.55°)
OKLaboklab(79.61% -0.0804 0.137)
OKLCHoklch(79.61% 0.159 120.4)
XYZxyz(40.1731, 52.2809, 13.9349)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB47 #6347CB
analogous
#CBA547 #AFCB47 #6DCB47
triadic
#AFCB47 #47AFCB #CB47AF
tetradic
#AFCB47 #47CBA5 #6347CB #CB476D
square
#AFCB47 #47CBA5 #6347CB #CB476D
split-complementary
#AFCB47 #476DCB #A547CB
monochromatic
#647621 #8DA62F #AFCB47 #C4D877 #D8E6A6

Accessibility & contrast

On white

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

On black

11.46
#AFCB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB47
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB47#FFFFFF#000000##000000
##AFCB471.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcb47;
/* rgb */ color: rgb(175, 203, 71);
/* oklch */ color: oklch(79.6% 0.159 120.4);
Tailwind
colors: {
  custom: {
    50: '#cada81',
    500: '#afcb47',
    950: '#000000',
  },
}
SCSS
$custom: #afcb47;
$custom-light: #cada81;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb47",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 72.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79614,
    "c": 0.15884,
    "h": 120.4
  },
  "luminance": 0.52281
}

Semantic roles & 50–950 ramp

primary
#AFCB47
secondary
#47377F
accent
#49DF69
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCB47

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

Preview Lab → · Contrast checker → · Palette generator →

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