#AFCB43#AFCB43

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

Color values

HEX#AFCB43
RGBrgb(175, 203, 67)
HSLhsl(72, 57%, 53%)
HSVhsv(72, 67%, 80%)
CMYKcmyk(13.8%, 0%, 67%, 20.4%)
CIE-LABlab(77.42, -27.82, 61.88)
CIE-LCHlch(77.42, 67.85, 114.21°)
OKLaboklab(79.58% -0.0815 0.1397)
OKLCHoklch(79.58% 0.162 120.3)
XYZxyz(40.0489, 52.2312, 13.2809)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB43 #5F43CB
analogous
#CBA343 #AFCB43 #6BCB43
triadic
#AFCB43 #43AFCB #CB43AF
tetradic
#AFCB43 #43CBA3 #5F43CB #CB436B
square
#AFCB43 #43CBA3 #5F43CB #CB436B
split-complementary
#AFCB43 #436BCB #A343CB
monochromatic
#627420 #8BA42D #AFCB43 #C3D873 #D8E6A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCB43#FFFFFF#000000##000000
##AFCB431.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)
#D7C02F
Deuteranopia (green-blind)
#D4C04D
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb43;
/* rgb */ color: rgb(175, 203, 67);
/* oklch */ color: oklch(79.6% 0.162 120.3);
Tailwind
colors: {
  custom: {
    50: '#cada7e',
    500: '#afcb43',
    950: '#000000',
  },
}
SCSS
$custom: #afcb43;
$custom-light: #cada7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb43",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 67
  },
  "hsl": {
    "h": 72.353,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7958,
    "c": 0.16171,
    "h": 120.3
  },
  "luminance": 0.52231
}

Semantic roles & 50–950 ramp

primary
#AFCB43
secondary
#44367C
accent
#48E067
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCB43

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

Preview Lab → · Contrast checker → · Palette generator →

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